Skip to content

Commit 28c58f8

Browse files
bcodding-rhmartinkpetersen
authored andcommitted
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>
1 parent f5f27a3 commit 28c58f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/target/target_core_pr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ static int core_scsi3_pr_seq_non_holder(struct se_cmd *cmd, u32 pr_reg_type,
470470
case INQUIRY:
471471
case LOG_SENSE:
472472
case SERVICE_ACTION_IN_12:
473+
case READ_CAPACITY:
473474
case REPORT_LUNS:
474475
case REQUEST_SENSE:
475476
case PERSISTENT_RESERVE_IN:

0 commit comments

Comments
 (0)