diff options
author | Martin Svec <martin.svec@zoner.cz> | 2012-02-07 06:13:25 (GMT) |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-02-07 06:48:58 (GMT) |
commit | 67236c44741e250199ccd77f1115568e68cf8848 (patch) | |
tree | 4b09d2017a0122984b694e167aeaff2afcc931e0 /drivers/xen/swiotlb-xen.c | |
parent | 9f9ef6d3c08319defc29e4cf6ef2868d15ed0cc3 (diff) | |
download | linux-fsl-qoriq-67236c44741e250199ccd77f1115568e68cf8848.tar.xz |
target: Fix unsupported WRITE_SAME sense payload
This patch fixes a bug in target-core where unsupported WRITE_SAME ops
from a target_check_write_same_discard() failure was incorrectly
returning CHECK_CONDITION w/ TCM_INVALID_CDB_FIELD sense data.
This was causing some clients to not properly fall back, so go ahead
and use the correct TCM_UNSUPPORTED_SCSI_OPCODE sense for this case.
Reported-by: Martin Svec <martin.svec@zoner.cz>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/xen/swiotlb-xen.c')
0 files changed, 0 insertions, 0 deletions