mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-02-03 06:22:02 +00:00
For cloned bio, bio->bi_vcnt can't be used at all, and we have resort to bio_segments() to figure out how many segment there are in the bio. Signed-off-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: Jens Axboe <axboe@fb.com>