]> git.karo-electronics.de Git - karo-tx-linux.git/commit
target: Allow PERSISTENT RESERVE IN for non-reservation holder
authorMarco Sanvido <marco@purestorage.com>
Wed, 4 Jan 2012 01:12:58 +0000 (17:12 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Feb 2012 19:06:11 +0000 (11:06 -0800)
commitb8a8c4aa9e22c2de7af17ea48b7cc868f5bc79ad
tree5e29a43099cab332b1a1dc5f7eca5e9fa73ab67a
parentb96473a25fa375b08c9bf0c1c0dbf47ca826eaec
target: Allow PERSISTENT RESERVE IN for non-reservation holder

commit 6816966a8418b980481b4dced7eddd1796b145e8 upstream.

Initiators that aren't the active reservation holder should be able to
do a PERSISTENT RESERVE IN command in all cases, so add it to the list
of allowed CDBs in core_scsi3_pr_seq_non_holder().

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>
drivers/target/target_core_pr.c