summaryrefslogtreecommitdiff
path: root/drivers/target
diff options
context:
space:
mode:
authorBenjamin Coddington <bcodding@redhat.com>2023-11-29 11:13:54 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2023-12-05 21:01:52 -0500
commit28c58f8a0947f70ddee275b90fe45431146bb2cc (patch)
tree573a760d58208136d9f48536a52d15a9b57d49dd /drivers/target
parentf5f27a332a14f43463aa0075efa3a0c662c0f4a8 (diff)
scsi: target: Enable READ CAPACITY for PR EARO
SBC-4, Table 13 allows READ CAPACITY for all PR types. Signed-off-by: Benjamin Coddington <bcodding@redhat.com> Link: https://lore.kernel.org/r/ad095388dbc550c5b199a1dfa71bcbfc575a7abe.1701272679.git.bcodding@redhat.com Reviewed-by: Mike Christie <michael.christie@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target')
-rw-r--r--drivers/target/target_core_pr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/target/target_core_pr.c b/drivers/target/target_core_pr.c
index 49d9167bb263..80b7d85030d0 100644
--- a/drivers/target/target_core_pr.c
+++ b/drivers/target/target_core_pr.c
@@ -470,6 +470,7 @@ static int core_scsi3_pr_seq_non_holder(struct se_cmd *cmd, u32 pr_reg_type,
case INQUIRY:
case LOG_SENSE:
case SERVICE_ACTION_IN_12:
+ case READ_CAPACITY:
case REPORT_LUNS:
case REQUEST_SENSE:
case PERSISTENT_RESERVE_IN: