From: Jens Axboe Date: Fri, 25 Jan 2008 11:44:44 +0000 (+0100) Subject: __bio_clone: don't calculate hw/phys segment counts X-Git-Tag: v2.6.25-rc1~1171^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d84070ee0a433620c57e85dac7f82faaec5fbb3;p=pandora-kernel.git __bio_clone: don't calculate hw/phys segment counts If the users sets a new ->bi_bdev on the bio after __bio_clone() has returned it, the "segment counts valid" flag still remains even though it may be different with the new target. So don't calculate segment counts in __bio_clone(). Signed-off-by: Jens Axboe --- Reading git-diff-tree failed