Re: [PATCH 2/7] block: add a new helper bdev_{is_zone_start, offset_from_zone_start}

Chaitanya Kulkarni
2023-01-09T07:42:24Z

On 1/6/23 00:33, Pankaj Raghav wrote:
> Instead of open coding to check for zone start, add a helper to improve
> readability and store the logic in one place.
>
> bdev_offset_from_zone_start() will be used later in the series.
>
> Signed-off-by: Pankaj Raghav <p.raghav@samsung.com>

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>

-ck