diff options
author | Dave Chinner <dchinner@redhat.com> | 2016-02-10 05:01:30 +0100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-02-10 05:01:30 +0100 |
commit | 12877da58429affc988403817b88d901fe01f8c1 (patch) | |
tree | ac5b4ae64199c27bbfdee3a6bbf106ea5c9e1d19 /fs/xfs/xfs_log_recover.c | |
parent | xfs: remove XBF_STALE flag wrapper macros (diff) | |
download | linux-12877da58429affc988403817b88d901fe01f8c1.tar.xz linux-12877da58429affc988403817b88d901fe01f8c1.zip |
xfs: remove XFS_BUF_ZEROFLAGS macro
The places where we use this macro already clear unnecessary IO
flags (e.g. through xfs_bwrite()) or never have unexpected IO flags
set on them in the first place (e.g. iclog buffers). Remove the
macro from these locations, and where necessary clear only the
specific flags that are conditional in the current buffer context.
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 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c index 50a75ecf279e..837e8d09aa5a 100644 --- a/fs/xfs/xfs_log_recover.c +++ b/fs/xfs/xfs_log_recover.c @@ -275,7 +275,6 @@ xlog_bwrite( ASSERT(nbblks <= bp->b_length); XFS_BUF_SET_ADDR(bp, log->l_logBBstart + blk_no); - XFS_BUF_ZEROFLAGS(bp); xfs_buf_hold(bp); xfs_buf_lock(bp); bp->b_io_length = nbblks; |