summaryrefslogtreecommitdiff
path: root/drivers/ide/cs5530.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2017-02-15 03:25:45 +0300
committerNicholas Bellinger <nab@linux-iscsi.org>2017-02-21 00:28:09 +0300
commite3b88ee95b4e4bf3e9729a4695d695b9c7c296c8 (patch)
tree84152cbdc1904bf6873ba53c565028b2cafff84f /drivers/ide/cs5530.c
parent762b6f00a995863afa274d6b5ffa3880dac1714b (diff)
downloadlinux-e3b88ee95b4e4bf3e9729a4695d695b9c7c296c8.tar.xz
target: Fix handling of aborted failed commands
If a target driver (e.g. tcm_qla2xxx) calls transport_generic_request_failure() to report that receiving data has failed and that SCSI command has already been aborted by the initiator, ensure that the SCSI status ABORTED is sent back to the initiator instead of the sense code provided by the target driver. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Hannes Reinecke <hare@suse.com> Cc: Christoph Hellwig <hch@lst.de> Cc: David Disseldorp <ddiss@suse.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/ide/cs5530.c')
0 files changed, 0 insertions, 0 deletions