commit | 7f60dcaaf91e911002007c7ae885ff6ef0f36c0d | [log] [tgz] |
---|---|---|
author | Ming Lei <tom.leiming@gmail.com> | Wed Nov 12 00:15:41 2014 +0800 |
committer | Jens Axboe <axboe@fb.com> | Tue Nov 11 16:24:15 2014 -0700 |
tree | f2bff26f97cc3123ea2741714d0b1ba0658e16ba | |
parent | 92697dc9471b8655a2f1203fa351bc37b2d46a26 [diff] |
block: blk-merge: fix blk_recount_segments() 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>