summaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_tpg.c
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2011-07-26 16:59:00 -0700
committerNicholas Bellinger <nab@linux-iscsi.org>2011-08-17 00:50:02 +0000
commiteb39d34004888afcc0a44d9c36383cd69fa3b3b9 (patch)
treead00a2a971d35afc7005fc412d6bc46dcaa88f9a /drivers/target/target_core_tpg.c
parent93ee7a9340d64f20295aacc3fb6a22b759323280 (diff)
downloadlinux-eb39d34004888afcc0a44d9c36383cd69fa3b3b9.tar.gz
linux-eb39d34004888afcc0a44d9c36383cd69fa3b3b9.tar.xz
linux-eb39d34004888afcc0a44d9c36383cd69fa3b3b9.zip
target: Change TCM_NON_EXISTENT_LUN response to ASC=LOGICAL UNIT NOT SUPPORTED
This patch changes transport_send_check_condition_and_sense() for TCM_NON_EXISTENT_LUN emulation to use 0x25 (LOGICAL UNIT NOT SUPPORTED) instead of the original 0x20 (INVALID COMMAND OPERATION CODE). This is helpful to distinguish between TCM_UNSUPPORTED_SCSI_OPCODE ASC=0x20 exceptions. Signed-off-by: Nicholas A. Bellinger <nab@risingtidesystems.com>
Diffstat (limited to 'drivers/target/target_core_tpg.c')
0 files changed, 0 insertions, 0 deletions