]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
block: rename bio bi_rw to bi_opf
authorJens Axboe <axboe@fb.com>
Fri, 5 Aug 2016 21:35:16 +0000 (15:35 -0600)
committerJens Axboe <axboe@fb.com>
Sun, 7 Aug 2016 20:41:02 +0000 (14:41 -0600)
commit1eff9d322a444245c67515edb52bc0eb68374aa8
treeaed4c3bfdf94202b93b9b5ce74c6e247f4c3ab85
parent31c64f78767948986c6c4c6f488803722c6b0e7a
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>
51 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
drivers/nvdimm/pmem.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