diff options
author | Ming Lei <tom.leiming@gmail.com> | 2014-11-12 00:15:41 +0800 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-11-11 16:24:15 -0700 |
commit | 7f60dcaaf91e911002007c7ae885ff6ef0f36c0d (patch) | |
tree | f2bff26f97cc3123ea2741714d0b1ba0658e16ba /Makefile | |
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>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions