xfs: remove XFS_BUF_ZEROFLAGS macro
authorDave Chinner <dchinner@redhat.com>
Wed, 10 Feb 2016 04:01:30 +0000 (15:01 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 10 Feb 2016 04:01:30 +0000 (15:01 +1100)
commit12877da58429affc988403817b88d901fe01f8c1
treeac5b4ae64199c27bbfdee3a6bbf106ea5c9e1d19
parent5cfd28b6abc2bd53f225c82e5083d898b3a158fe
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>
fs/xfs/xfs_buf.h
fs/xfs/xfs_log.c
fs/xfs/xfs_log_recover.c