Re: [PATCH v2 04/28] block: Introduce bio_straddle_zones() and bio_offset_from_zone_start()

Bart Van Assche
2024-03-25T19:56:01Z

On 3/24/24 21:44, Damien Le Moal wrote:
> +static inline bool bio_straddle_zones(struct bio *bio)
> +{
> + return bio_sectors(bio) &&
> + bio_zone_no(bio) !=
> + disk_zone_no(bio->bi_bdev->bd_disk, bio_end_sector(bio) - 1);
> +}

Please rename bio_straddle_zones() into bio_straddles_zones()
(grammar).

Thanks,

Bart.