diff options
author | Dave Chinner <dchinner@redhat.com> | 2016-02-10 15:01:11 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-02-10 15:01:11 +1100 |
commit | 5cfd28b6abc2bd53f225c82e5083d898b3a158fe (patch) | |
tree | e65e1d4116ebb201d3df4192ce653f95a1cdaab3 /fs/xfs/xfs_buf_item.c | |
parent | b68c08219a6726fb68dca2d56e024d2e2c1654f5 (diff) | |
download | linux-5cfd28b6abc2bd53f225c82e5083d898b3a158fe.tar.gz linux-5cfd28b6abc2bd53f225c82e5083d898b3a158fe.tar.bz2 linux-5cfd28b6abc2bd53f225c82e5083d898b3a158fe.zip |
xfs: remove XBF_STALE flag wrapper macros
They only set/clear/check a flag, no need for obfuscating this
with a macro.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.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 838df068fad4..99e91a0e554e 100644 --- a/fs/xfs/xfs_buf_item.c +++ b/fs/xfs/xfs_buf_item.c @@ -431,7 +431,7 @@ xfs_buf_item_unpin( if (freed && stale) { ASSERT(bip->bli_flags & XFS_BLI_STALE); ASSERT(xfs_buf_islocked(bp)); - ASSERT(XFS_BUF_ISSTALE(bp)); + ASSERT(bp->b_flags & XBF_STALE); ASSERT(bip->__bli_format.blf_flags & XFS_BLF_CANCEL); trace_xfs_buf_item_unpin_stale(bip); |