block: rename bio bi_rw to bi_rwf for-4.8/bi_rwf
authorJens Axboe <axboe@fb.com>
Mon, 1 Aug 2016 16:22:35 +0000 (10:22 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 1 Aug 2016 16:22:35 +0000 (10:22 -0600)
commit06a772b8862f3698ff33fe4ae7dbd8fc5c9bde15
treeae68e72bf5375d71a9b24d66de5cbaf32b6597de
parentf6d3900c3534ae654de2068244ebd74c8eb90923
block: rename bio bi_rw to bi_rwf

Since commit 63a4cc24867d, bio->bi_rw contains flags in the lower
portion and the op code in the higher portions. This means that
old code that relies on manually setting bi_rw is most likely
going to be broken. Instead of letting that brokeness linger,
rename the member, to force old and out-of-tree code to break
at compile time instead of at runtime.

No intended functional changes in this commit.

Signed-off-by: Jens Axboe <axboe@fb.com>
50 files changed:
Documentation/block/biodoc.txt
Documentation/device-mapper/dm-flakey.txt
block/bio-integrity.c
block/bio.c
block/blk-core.c
block/blk-merge.c
block/blk-mq.c
block/blk-throttle.c
block/cfq-iosched.c
drivers/block/drbd/drbd_main.c
drivers/block/drbd/drbd_receiver.c
drivers/block/drbd/drbd_req.c
drivers/block/drbd/drbd_worker.c
drivers/block/pktcdvd.c
drivers/block/umem.c
drivers/md/bcache/request.c
drivers/md/bcache/super.c
drivers/md/bcache/writeback.h
drivers/md/dm-cache-target.c
drivers/md/dm-crypt.c
drivers/md/dm-era-target.c
drivers/md/dm-flakey.c
drivers/md/dm-io.c
drivers/md/dm-log-writes.c
drivers/md/dm-mpath.c
drivers/md/dm-raid1.c
drivers/md/dm-region-hash.c
drivers/md/dm-snap.c
drivers/md/dm-stripe.c
drivers/md/dm-thin.c
drivers/md/dm-zero.c
drivers/md/dm.c
drivers/md/linear.c
drivers/md/md.c
drivers/md/multipath.c
drivers/md/raid0.c
drivers/md/raid1.c
drivers/md/raid10.c
drivers/md/raid5-cache.c
drivers/md/raid5.c
fs/btrfs/check-integrity.c
fs/btrfs/disk-io.c
fs/btrfs/inode.c
fs/btrfs/volumes.c
include/linux/bio.h
include/linux/blk-cgroup.h
include/linux/blk_types.h
include/trace/events/bcache.h
include/trace/events/block.h
kernel/trace/blktrace.c