[dm-devel] [PATCH 03/16] block: add bdev_zone_no helper

Bart Van Assche bvanassche at acm.org
Wed Apr 27 23:53:56 UTC 2022


On 4/27/22 09:02, Pankaj Raghav wrote:
> +static inline unsigned int bdev_zone_no(struct block_device *bdev, sector_t sec)
> +{
> +	struct request_queue *q = bdev_get_queue(bdev);
> +
> +	if (q)
> +		return blk_queue_zone_no(q, sec);
> +	return 0;
> +}

This patch series has been split incorrectly: the same patch that 
introduces a new function should also introduce a caller to that function.

Thanks,

Bart.



More information about the dm-devel mailing list