From: Jens Axboe Date: Fri, 6 Mar 2009 07:55:24 +0000 (+0100) Subject: block: fix missing bio back/front segment size setting in blk_recount_segments() X-Git-Tag: v2.6.29-rc8~68^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59247eaea50cc68cc6ce3d3fd3855f3301b65c96;p=pandora-kernel.git block: fix missing bio back/front segment size setting in blk_recount_segments() Commit 1e42807918d17e8c93bf14fbb74be84b141334c1 introduced a bug where we don't get front/back segment sizes in the bio in blk_recount_segments(). Fix this by tracking the back bio as well as the front bio in __blk_recalc_rq_segments(), this also cleans up the interface by getting rid of the segment size pointer passing. Tested-by: Thomas Gleixner Tested-by: Ingo Molnar Signed-off-by: Jens Axboe --- Reading git-diff-tree failed