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 | 1157b32c732cbab75320e429559c0ec9f5d382e4 (patch) | |
tree | 1fb051f80699fa9c0bea37f685241f4a52498d51 /fs/xfs/xfs_log_recover.c | |
parent | b0388bf1088d992b45aa8af14d3151ae57848b17 (diff) | |
download | linux-1157b32c732cbab75320e429559c0ec9f5d382e4.tar.gz linux-1157b32c732cbab75320e429559c0ec9f5d382e4.tar.xz |
xfs: remove XBF_ASYNC 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 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c index 545ff3c03243..f00cce9bf830 100644 --- a/fs/xfs/xfs_log_recover.c +++ b/fs/xfs/xfs_log_recover.c @@ -4926,10 +4926,9 @@ xlog_do_recover( * updates, re-read in the superblock and reverify it. */ bp = xfs_getsb(log->l_mp, 0); - bp->b_flags &= ~XBF_DONE; + bp->b_flags &= ~(XBF_DONE | XBF_ASYNC); ASSERT(!(XFS_BUF_ISWRITE(bp))); XFS_BUF_READ(bp); - XFS_BUF_UNASYNC(bp); bp->b_ops = &xfs_sb_buf_ops; error = xfs_buf_submit_wait(bp); |