]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit62ed5d1ee5f05da320ad5f0b6be84c636c40523a
treeac5b4ae64199c27bbfdee3a6bbf106ea5c9e1d19
parent1bee7454673b5b229fa6f87bdddbab418ac523c2
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