On 2/2/21 18:39, Ming Lei wrote:
> +                     struct bio *bio = rq->bio;
> +                     for_each_bio(bio)
> +                             nr_phys_segs++;
> +                     return nr_phys_segs;
> +             }
Also, you need to add a new line after declaration of bio in the above
code block.

Reply via email to