> +static inline unsigned bio_segments_all(struct bio *bio)> +{> + WARN_ON_ONCE(bio_flagged(bio, BIO_CLONED));> +> + return bio->bi_vcnt;> +}I don't think this helpers really adds any benefit.