From: Jens Axboe Date: Tue, 19 Jun 2007 07:09:27 +0000 (+0200) Subject: blk_hw_contig_segment(): bad segment size checks X-Git-Tag: v2.6.23-rc1~1158^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32eef964110985c5845472e07fa0a18838a970c4;p=pandora-kernel.git blk_hw_contig_segment(): bad segment size checks Two bugs in there: - The virt oversize check should use the current bio hardware back size and the next bio front size, not the same bio. Spotted by Neil Brown. - The segment size check should add hw front sizes, not total bio sizes. Spotted by James Bottomley Acked-by: James Bottomley Acked-by: NeilBrown Signed-off-by: Jens Axboe --- Reading git-diff-tree failed