drivers: use req op accessor
authorMike Christie <mchristi@redhat.com>
Sun, 5 Jun 2016 19:32:17 +0000 (14:32 -0500)
committerJens Axboe <axboe@fb.com>
Tue, 7 Jun 2016 19:41:38 +0000 (13:41 -0600)
commitc2df40dfb8c015211ec55f4b1dd0587f875c7b34
tree8660ea8a2a00b0248fa609e7e6b737a8d92306d9
parentd9d8c5c489f4969667a05727e9c2c4f78cffef1a
drivers: use req op accessor

The req operation REQ_OP is separated from the rq_flag_bits
definition. This converts the block layer drivers to
use req_op to get the op from the request struct.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
14 files changed:
drivers/block/loop.c
drivers/block/mtip32xx/mtip32xx.c
drivers/block/nbd.c
drivers/block/rbd.c
drivers/block/xen-blkfront.c
drivers/ide/ide-floppy.c
drivers/md/dm.c
drivers/mmc/card/block.c
drivers/mmc/card/queue.c
drivers/mmc/card/queue.h
drivers/mtd/mtd_blkdevs.c
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h
drivers/scsi/sd.c