Re: [PATCH 01/50] core: Introduce the blk_req() function

Bart Van Assche
2021-05-17T16:09:59Z

On 5/14/21 11:47 PM, Christoph Hellwig wrote:
>> +/* Variant of blk_mq_rq_from_pdu() that verifies the type of its argument. */
>> +static inline struct request *blk_req(struct scsi_cmnd *scmd)
>
> Please don't use a blk_ prefix for a SCSI funtion. Why not scsi_scmd_to_rq
> or something like that?

Hi Christoph,

Thanks for having taken a look. I will rename that function into
scsi_cmd_to_rq().

Bart.