Re: [PATCH v9 09/13] dm-zone: use generic helpers to calculate offset from zone start

From: Bart Van Assche
Date: Wed Aug 03 2022 - 13:23:54 EST


On 8/3/22 02:47, Pankaj Raghav wrote:
- if ((clone->bi_iter.bi_sector & (zsectors - 1)) != zwp_offset)
+ if ((bdev_offset_from_zone_start(md->disk->part0,
+ clone->bi_iter.bi_sector)) != zwp_offset)

If this patch series needs to be reposted, please leave out the superfluous parentheses from the above statement.

Thanks,

Bart.