[PATCH v9 09/13] dm-zone: use generic helpers to calculate offset from zone start
Bart Van Assche
bvanassche at acm.org
Wed Aug 3 10:23:43 PDT 2022
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.
More information about the Linux-nvme
mailing list