diff options
author | Chandra Seetharaman <sekharan@us.ibm.com> | 2011-07-22 23:40:27 +0000 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2011-07-25 15:03:22 -0500 |
commit | 811e64c7169bb59229971c4aa3b1ed5093f44c84 (patch) | |
tree | cf14860be8322a112409095619b6e3ee71b500a7 /fs/xfs/xfs_buf_item.c | |
parent | 02fe03d909f3a5876d7b4775fdbc83c07c7c3842 (diff) |
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/xfs_buf_item.c')
-rw-r--r-- | fs/xfs/xfs_buf_item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_buf_item.c b/fs/xfs/xfs_buf_item.c index a16c24c3a3d..a3d2bbca26c 100644 --- a/fs/xfs/xfs_buf_item.c +++ b/fs/xfs/xfs_buf_item.c @@ -478,7 +478,7 @@ xfs_buf_item_trylock( struct xfs_buf_log_item *bip = BUF_ITEM(lip); struct xfs_buf *bp = bip->bli_buf; - if (XFS_BUF_ISPINNED(bp)) + if (xfs_buf_ispinned(bp)) return XFS_ITEM_PINNED; if (!xfs_buf_trylock(bp)) return XFS_ITEM_LOCKED; |