diff options
author | 2016-11-03 14:20:21 +0100 | |
---|---|---|
committer | 2017-01-27 15:08:35 -0700 | |
commit | 3278255741326b6d66d8ca7d1cb2c57633ee43d9 (patch) | |
tree | 97087fd30c6069622ceb3e5cd432c8687bbf5e06 /drivers/scsi/scsi_lib.c | |
parent | dm: always defer request allocation to the owner of the request_queue (diff) | |
download | wireguard-linux-3278255741326b6d66d8ca7d1cb2c57633ee43d9.tar.xz wireguard-linux-3278255741326b6d66d8ca7d1cb2c57633ee43d9.zip |
scsi_dh_rdac: switch to scsi_execute_req_flags()
Switch to scsi_execute_req_flags() and scsi_get_vpd_page() instead of
open-coding it. Using scsi_execute_req_flags() 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>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
0 files changed, 0 insertions, 0 deletions