diff options
author | Hannes Reinecke <hare@suse.de> | 2016-11-03 16:20:22 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-01-28 01:08:35 +0300 |
commit | b78205c93297b821974deaf607bc2efd89842621 (patch) | |
tree | 0381c531ebc9355e57261142b66a4563763cf61e /drivers/pcmcia | |
parent | 3278255741326b6d66d8ca7d1cb2c57633ee43d9 (diff) | |
download | linux-b78205c93297b821974deaf607bc2efd89842621.tar.xz |
scsi_dh_emc: 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/pcmcia')
0 files changed, 0 insertions, 0 deletions