Skip to contentSkip to conversation

xfs: Remove XFS_SWRITE_LOG_RES macros

PATCH In review Jeff Liu 2 participants 2 messages May 1, 2013 – May 2, 2013 XFS filesystem

lore
Share & tools
lore

Jeff Liu

author
#0 lore raw

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.

---
 fs/xfs/xfs_trans.h |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
fs/xfs/xfs_trans.h +1 -3
index cd29f61..cdff1c6 100644
@@ -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