mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-02 17:26:42 +09:00
target: Allow PERSISTENT RESERVE IN for non-reservation holder
commit 6816966a84 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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b96473a25f
commit
b8a8c4aa9e
@@ -471,6 +471,7 @@ static int core_scsi3_pr_seq_non_holder(
|
||||
case READ_MEDIA_SERIAL_NUMBER:
|
||||
case REPORT_LUNS:
|
||||
case REQUEST_SENSE:
|
||||
case PERSISTENT_RESERVE_IN:
|
||||
ret = 0; /*/ Allowed CDBs */
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user