target: use correct sense code for LUN communication failure
authorHannes Reinecke <hare@suse.de>
Mon, 17 Dec 2012 08:53:32 +0000 (09:53 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 6 Feb 2013 04:33:27 +0000 (04:33 +0000)
commitb60dc9751a36324ac4f68579d8dd3d415a58205e
tree59add017abf61a96108a4224001cc7b479c918e8
parent88d6d79b6a8f4469311a0b55098c98ea15ccbc94
target: use correct sense code for LUN communication failure

commit 18a9df42d53fabfa43b78be1104838cc8b9762e1 upstream.

The ASC/ASCQ code for 'Logical Unit Communication failure' is
0x08/0x00; 0x80/0x00 is vendor specific.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Cc: Nicholas Bellinger <nab@risingtidesystems.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
[bwh: Backported to 3.2: add offset to buffer index]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/target/target_core_transport.c