diff options
author | Chandra Seetharaman <sekharan@us.ibm.com> | 2011-07-23 01:40:27 +0200 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2011-07-25 22:03:22 +0200 |
commit | 811e64c7169bb59229971c4aa3b1ed5093f44c84 (patch) | |
tree | cf14860be8322a112409095619b6e3ee71b500a7 /fs/xfs/linux-2.6/xfs_sync.c | |
parent | xfs: Remove the macro XFS_BUF_SET_PTR (diff) | |
download | linux-811e64c7169bb59229971c4aa3b1ed5093f44c84.tar.xz linux-811e64c7169bb59229971c4aa3b1ed5093f44c84.zip |
Replace the macro XFS_BUF_ISPINNED with helper xfs_buf_ispinned
Replace the macro XFS_BUF_ISPINNED with an inline helper function
xfs_buf_ispinned, and change all its usages.
Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_sync.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_sync.c b/fs/xfs/linux-2.6/xfs_sync.c index 5cc158e52d4c..a8500e92ae72 100644 --- a/fs/xfs/linux-2.6/xfs_sync.c +++ b/fs/xfs/linux-2.6/xfs_sync.c @@ -330,7 +330,7 @@ xfs_sync_fsdata( * between there and here. */ bp = xfs_getsb(mp, 0); - if (XFS_BUF_ISPINNED(bp)) + if (xfs_buf_ispinned(bp)) xfs_log_force(mp, 0); return xfs_bwrite(mp, bp); |