diff options
author | Dave Chinner <dchinner@redhat.com> | 2016-02-10 04:01:11 (GMT) |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-02-10 04:01:11 (GMT) |
commit | b68c08219a6726fb68dca2d56e024d2e2c1654f5 (patch) | |
tree | 82679c08cbb2d9137f1134ba28933c92498072c0 /fs/xfs/xfs_log_recover.c | |
parent | 0cac682ff683bac968c24a4774c69c3a9ff35013 (diff) | |
download | linux-b68c08219a6726fb68dca2d56e024d2e2c1654f5.tar.xz |
xfs: remove XBF_WRITE 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_log_recover.c')
-rw-r--r-- | fs/xfs/xfs_log_recover.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c index e747bad..50a75ec 100644 --- a/fs/xfs/xfs_log_recover.c +++ b/fs/xfs/xfs_log_recover.c @@ -4927,7 +4927,7 @@ xlog_do_recover( */ bp = xfs_getsb(log->l_mp, 0); bp->b_flags &= ~(XBF_DONE | XBF_ASYNC); - ASSERT(!(XFS_BUF_ISWRITE(bp))); + ASSERT(!(bp->b_flags & XBF_WRITE)); bp->b_flags |= XBF_READ; bp->b_ops = &xfs_sb_buf_ops; |