[Top] [All Lists]

[PATCH] xfs: Remove XFS_SWRITE_LOG_RES macros

To: "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
Subject: [PATCH] xfs: Remove XFS_SWRITE_LOG_RES macros
From: Jeff Liu <jeff.liu@xxxxxxxxxx>
Date: Wed, 01 May 2013 22:27:36 +0800
Delivered-to: xfs@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2
From: Jie Liu <jeff.liu@xxxxxxxxxx>

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

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

 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)     
 #define        XFS_GROWRTZERO_LOG_RES(mp)      
 #define        XFS_GROWRTFREE_LOG_RES(mp)      
-#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)

<Prev in Thread] Current Thread [Next in Thread>