All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfs: Remove XFS_SWRITE_LOG_RES macros
@ 2013-05-01 14:27 Jeff Liu
  2013-05-02  1:14 ` Dave Chinner
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Liu @ 2013-05-01 14:27 UTC (permalink / raw)
  To: xfs

From: Jie Liu <jeff.liu@oracle.com>

Remove the XFS_SWRITE_LOG_RES macros as there is no user of it nowadays.

Signed-off-by: Jie Liu <jeff.liu@oracle.com>

---
 fs/xfs/xfs_trans.h |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/fs/xfs/xfs_trans.h b/fs/xfs/xfs_trans.h
index cd29f61..cdff1c6 100644
--- a/fs/xfs/xfs_trans.h
+++ b/fs/xfs/xfs_trans.h
@@ -246,10 +246,8 @@ struct xfs_log_item_desc {
 #define	XFS_GROWRTALLOC_LOG_RES(mp)	((mp)->m_reservations.tr_growrtalloc)
 #define	XFS_GROWRTZERO_LOG_RES(mp)	((mp)->m_reservations.tr_growrtzero)
 #define	XFS_GROWRTFREE_LOG_RES(mp)	((mp)->m_reservations.tr_growrtfree)
-#define	XFS_SWRITE_LOG_RES(mp)	((mp)->m_reservations.tr_swrite)
 /*
- * Logging the inode timestamps on an fsync -- same as SWRITE
- * as long as SWRITE logs the entire inode core
+ * Logging the inode timestamps on an fsync
  */
 #define XFS_FSYNC_TS_LOG_RES(mp)        ((mp)->m_reservations.tr_swrite)
 #define	XFS_WRITEID_LOG_RES(mp)		((mp)->m_reservations.tr_swrite)
-- 
1.7.9.5

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] xfs: Remove XFS_SWRITE_LOG_RES macros
  2013-05-01 14:27 [PATCH] xfs: Remove XFS_SWRITE_LOG_RES macros Jeff Liu
@ 2013-05-02  1:14 ` Dave Chinner
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Chinner @ 2013-05-02  1:14 UTC (permalink / raw)
  To: Jeff Liu; +Cc: xfs

On Wed, May 01, 2013 at 10:27:36PM +0800, Jeff Liu wrote:
> From: Jie Liu <jeff.liu@oracle.com>
> 
> Remove the XFS_SWRITE_LOG_RES macros as there is no user of it nowadays.

Looks good.

Reviewed-by: Dave Chinner <dchinner@redhat.com>
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-02  1:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-01 14:27 [PATCH] xfs: Remove XFS_SWRITE_LOG_RES macros Jeff Liu
2013-05-02  1:14 ` Dave Chinner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.