target: Change TCM_NON_EXISTENT_LUN response to ASC=LOGICAL UNIT NOT SUPPORTED
authorNicholas Bellinger <nab@linux-iscsi.org>
Tue, 26 Jul 2011 23:59:00 +0000 (16:59 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 17 Aug 2011 00:50:02 +0000 (00:50 +0000)
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>

No differences found