Re: [PATCH] scsi: target: enable READ CAPACITY for PR EARO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/29/23 10:13 AM, Benjamin Coddington wrote:
> SBC-4, Table 13 allows READ CAPACITY for all PR types.
> 
> Signed-off-by: Benjamin Coddington <bcodding@xxxxxxxxxx>
> ---
>  drivers/target/target_core_pr.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> 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:

Reviewed-by: Mike Christie <michael.christie@xxxxxxxxxx>





[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux