Re: [PATCH 03/16] block: add bdev_zone_no helper

From: Bart Van Assche
Date: Wed Apr 27 2022 - 19:54:13 EST


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.