From: Ming Lei Date: Tue, 11 Nov 2014 16:15:41 +0000 (+0800) Subject: block: blk-merge: fix blk_recount_segments() X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~114^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f60dcaaf91e911002007c7ae885ff6ef0f36c0d;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed