aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_file.h
diff options
context:
space:
mode:
authorMarco Sanvido <marco@purestorage.com>2012-01-03 17:12:57 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-13 11:06:11 -0800
commitb96473a25fa375b08c9bf0c1c0dbf47ca826eaec (patch)
treeda2383c722b8fb30c3c3f5693771e4e1d9296a46 /drivers/target/target_core_file.h
parent91b08ca08c8f5fbad289950086d6fb7ab0642d63 (diff)
downloadkernel_samsung_tuna-b96473a25fa375b08c9bf0c1c0dbf47ca826eaec.zip
kernel_samsung_tuna-b96473a25fa375b08c9bf0c1c0dbf47ca826eaec.tar.gz
kernel_samsung_tuna-b96473a25fa375b08c9bf0c1c0dbf47ca826eaec.tar.bz2
target: Use correct preempted registration sense code
commit 9e08e34e3735ae057eb3834da3570995811b7eb9 upstream. The comments quote the right parts of the spec: * d) Establish a unit attention condition for the * initiator port associated with every I_T nexus * that lost its registration other than the I_T * nexus on which the PERSISTENT RESERVE OUT command * was received, with the additional sense code set * to REGISTRATIONS PREEMPTED. and * e) Establish a unit attention condition for the initiator * port associated with every I_T nexus that lost its * persistent reservation and/or registration, with the * additional sense code set to REGISTRATIONS PREEMPTED; but the actual code accidentally uses ASCQ_2AH_RESERVATIONS_PREEMPTED instead of ASCQ_2AH_REGISTRATIONS_PREEMPTED. Fix this. Signed-off-by: Marco Sanvido <marco@purestorage.com> Signed-off-by: Roland Dreier <roland@purestorage.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/target/target_core_file.h')
0 files changed, 0 insertions, 0 deletions