> +/* 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?
> +/* 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?