block,fs: use REQ_* flags directly
authorChristoph Hellwig <hch@lst.de>
Tue, 1 Nov 2016 13:40:10 +0000 (07:40 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 1 Nov 2016 15:43:26 +0000 (09:43 -0600)
commit70fd76140a6cb63262bd47b68d57b42e889c10ee
tree0590b2ef1b89b6af6abb8da9d23d5d87991d74c8
parenta2b809672ee6fcb4d5756ea815725b3dbaea654e
block,fs: use REQ_* flags directly

Remove the WRITE_* and READ_SYNC wrappers, and just use the flags
directly.  Where applicable this also drops usage of the
bio_set_op_attrs wrapper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
53 files changed:
block/blk-flush.c
drivers/block/drbd/drbd_receiver.c
drivers/block/xen-blkback/blkback.c
drivers/md/bcache/btree.c
drivers/md/bcache/debug.c
drivers/md/bcache/request.c
drivers/md/bcache/super.c
drivers/md/dm-bufio.c
drivers/md/dm-log.c
drivers/md/dm-raid1.c
drivers/md/dm-snap-persistent.c
drivers/md/dm.c
drivers/md/md.c
drivers/md/raid5-cache.c
drivers/md/raid5.c
drivers/nvme/target/io-cmd.c
drivers/target/target_core_iblock.c
fs/btrfs/disk-io.c
fs/btrfs/extent_io.c
fs/btrfs/inode.c
fs/btrfs/scrub.c
fs/btrfs/volumes.c
fs/btrfs/volumes.h
fs/buffer.c
fs/direct-io.c
fs/ext4/mmp.c
fs/ext4/page-io.c
fs/ext4/super.c
fs/f2fs/checkpoint.c
fs/f2fs/data.c
fs/f2fs/gc.c
fs/f2fs/inline.c
fs/f2fs/node.c
fs/f2fs/segment.c
fs/f2fs/super.c
fs/gfs2/log.c
fs/gfs2/meta_io.c
fs/gfs2/ops_fstype.c
fs/hfsplus/super.c
fs/jbd2/checkpoint.c
fs/jbd2/commit.c
fs/jbd2/journal.c
fs/jbd2/revoke.c
fs/jfs/jfs_logmgr.c
fs/mpage.c
fs/nilfs2/super.c
fs/ocfs2/cluster/heartbeat.c
fs/reiserfs/journal.c
fs/xfs/xfs_aops.c
fs/xfs/xfs_buf.c
include/linux/fs.h
include/trace/events/f2fs.h
kernel/power/swap.c