]> git.karo-electronics.de Git - linux-beck.git/commit
scsi_dh_hp_sw: switch to scsi_execute_req_flags()
authorHannes Reinecke <hare@suse.de>
Thu, 3 Nov 2016 13:20:23 +0000 (14:20 +0100)
committerJens Axboe <axboe@fb.com>
Fri, 27 Jan 2017 22:08:35 +0000 (15:08 -0700)
commit80e1836cf94e0c9a410c1e31302b1d61bf5b7363
tree72ff8e5f47b8d958b5a300cb8920fc9db258a439
parentb78205c93297b821974deaf607bc2efd89842621
scsi_dh_hp_sw: switch to scsi_execute_req_flags()

Switch to scsi_execute_req_flags() instead of using the block interface
directly.  This will set REQ_QUIET and REQ_PREEMPT, but this is okay as
we're evaluating the errors anyway and should be able to send the command
even if the device is quiesced.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/scsi/device_handler/scsi_dh_hp_sw.c