Re: [PATCH v2 08/63] block/mq-deadline: Use the new blk_opf_t type

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

 



On 6/30/22 08:30, Bart Van Assche wrote:
> Use the new blk_opf_t type for an argument that represents a bitwise
> combination of a request operation and request flags.
> 
> This patch does not change any functionality.
> 
> Cc: Damien Le Moal <damien.lemoal@xxxxxxx>
> Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>
> ---
>  block/mq-deadline.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/block/mq-deadline.c b/block/mq-deadline.c
> index 1a9e835e816c..c5589e9155e6 100644
> --- a/block/mq-deadline.c
> +++ b/block/mq-deadline.c
> @@ -543,7 +543,7 @@ static struct request *dd_dispatch_request(struct blk_mq_hw_ctx *hctx)
>   * Called by __blk_mq_alloc_request(). The shallow_depth value set by this
>   * function is used by __blk_mq_get_tag().
>   */
> -static void dd_limit_depth(unsigned int op, struct blk_mq_alloc_data *data)
> +static void dd_limit_depth(blk_opf_t op, struct blk_mq_alloc_data *data)
>  {
>  	struct deadline_data *dd = data->q->elevator->elevator_data;
>  

Looks good.

Reviewed-by: Damien Le Moal <damien.lemoal@xxxxxxxxxxxxxxxxxx>

-- 
Damien Le Moal
Western Digital Research



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux