block, fs, mm, drivers: use bio set/get op accessors
authorMike Christie <mchristi@redhat.com>
Sun, 5 Jun 2016 19:31:48 +0000 (14:31 -0500)
committerJens Axboe <axboe@fb.com>
Tue, 7 Jun 2016 19:41:38 +0000 (13:41 -0600)
commit95fe6c1a209ef89d9f94dd04a0ad72be1487d5d5
tree4f0b5eabb7d38efe2f17e61207c628a1de8bb6ea
parentc8d93247f1d0cf478222a7f4fc37d453d6193d04
block, fs, mm, drivers: use bio set/get op accessors

This patch converts the simple bi_rw use cases in the block,
drivers, mm and fs code to set/get the bio operation using
bio_set_op_attrs/bio_op

These should be simple one or two liner cases, so I just did them
in one patch. The next patches handle the more complicated
cases in a module per patch.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
24 files changed:
block/bio.c
block/blk-core.c
block/blk-flush.c
block/blk-lib.c
block/blk-map.c
block/blk-merge.c
drivers/block/brd.c
drivers/block/floppy.c
drivers/block/pktcdvd.c
drivers/block/rsxx/dma.c
drivers/block/zram/zram_drv.c
drivers/lightnvm/rrpc.c
drivers/scsi/osd/osd_initiator.c
drivers/staging/lustre/lustre/llite/lloop.c
fs/crypto/crypto.c
fs/exofs/ore.c
fs/ext4/page-io.c
fs/ext4/readpage.c
fs/jfs/jfs_logmgr.c
fs/jfs/jfs_metapage.c
fs/logfs/dev_bdev.c
fs/nfs/blocklayout/blocklayout.c
include/linux/bio.h
mm/page_io.c