summaryrefslogtreecommitdiffstats
path: root/drivers/firewire
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2013-01-29 23:10:01 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2013-01-29 23:24:20 +0100
commitcab9609b449ae5a6875d7d4cef32a814527a3baa (patch)
treec07eb1b9d9b5758e300177de0faae75dff7e5304 /drivers/firewire
parenttarget: Fix zero-length INQUIRY additional sense code regression (diff)
downloadlinux-cab9609b449ae5a6875d7d4cef32a814527a3baa.tar.xz
linux-cab9609b449ae5a6875d7d4cef32a814527a3baa.zip
target: Fix zero-length MODE_SENSE regression
This patch fixes a regression introduced in v3.8-rc1 code where a zero-length MODE_SENSE was no longer returning GOOD status, but instead returning TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE to generate a CHECK_CONDITION status. This regression was introduced with the following commit: commit de103c93aff0bed0ae984274e5dc8b95899badab Author: Christoph Hellwig <hch@lst.de> Date: Tue Nov 6 12:24:09 2012 -0800 target: pass sense_reason as a return value and this patch has been tested with the following zero-length CDB: sg_raw /dev/sdd 5a 00 0a 00 00 00 00 00 00 00 SCSI Status: Good Sense Information: sense buffer empty Cc: Christoph Hellwig <hch@lst.de> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Roland Dreier <roland@purestorage.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/firewire')
0 files changed, 0 insertions, 0 deletions