xfs: Remove XFS_SWRITE_LOG_RES macros
PATCH 1/1 xfs: Remove XFS_SWRITE_LOG_RES macros
From: Jie Liu <[email protected]>
Remove the XFS_SWRITE_LOG_RES macros as there is no user of it nowadays.
Signed-off-by Jie Liu <[email protected]>
--- fs/xfs/xfs_trans.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
fs/xfs/xfs_trans.h +1 -3
@@ -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)
Signature · 6 lines
1.7.9.5 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Quoted 3 lines · Jeff Liu
From: Jie Liu <[email protected]>
Remove the
XFS_SWRITE_LOG_RESmacros as there is no user of it nowadays.
Looks good.
Reviewed-by Dave Chinner <[email protected]>
Signature · 7 lines
Dave Chinner [email protected] _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs