]> git.baikalelectronics.ru Git - kernel.git/commit
target: use bio op accessors
authorMike Christie <mchristi@redhat.com>
Sun, 5 Jun 2016 19:32:08 +0000 (14:32 -0500)
committerJens Axboe <axboe@fb.com>
Tue, 7 Jun 2016 19:41:38 +0000 (13:41 -0600)
commit894dfdc8fa0078a08b7d62d592aac4e15938f56e
tree73fe6e73332129367ac736a441e0e51e8f17911d
parent37eb7acd618f3b344f2d5f1b5ab8cf154e9bdb21
target: use bio op accessors

Separate the op from the rq_flag_bits and have the target layer
set/get the bio using bio_set_op_attrs/bio_op.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/target/target_core_iblock.c
drivers/target/target_core_pscsi.c