block: rename bio bi_rw to bi_opf for-4.8/bi_opf
authorJens Axboe <axboe@fb.com>
Tue, 2 Aug 2016 14:41:28 +0000 (08:41 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 2 Aug 2016 14:48:06 +0000 (08:48 -0600)
commit32980a7aabeb4c9efa7718792dd64f16e39991c3
tree7e32cf6940f0c804f3f8cea99bbd1839134d4e23
parente21d287c0cb54f0bf0855155d71b6376859b3e50
block: rename bio bi_rw to bi_opf

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