block: prepare mq request creation to use REQ_OPs
authorMike Christie <mchristi@redhat.com>
Sun, 5 Jun 2016 19:32:12 +0000 (14:32 -0500)
committerJens Axboe <axboe@fb.com>
Tue, 7 Jun 2016 19:41:38 +0000 (13:41 -0600)
commitcc6e3b10920b425f0b34d4ff75c63d930aaf14ce
tree320ceefdfb7faead828ef8b6c37981eef3fad511
parente6a40b096e284ee11374807eaaab6fd21a3fbabb
block: prepare mq request creation to use REQ_OPs

This patch modifies the blk mq request creation code to use
separate variables for the operation and flags, because in the
the next patches the struct request users will be converted like
was done for bios.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c