diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-03-06 08:55:24 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-03-06 08:55:24 +0100 |
commit | 59247eaea50cc68cc6ce3d3fd3855f3301b65c96 (patch) | |
tree | 76548e4273bb26568810095b14d62a4feaaf86a4 /arch | |
parent | a3941ec101a5ec54c1e929730afeb196441a171e (diff) | |
download | linux-59247eaea50cc68cc6ce3d3fd3855f3301b65c96.tar.gz linux-59247eaea50cc68cc6ce3d3fd3855f3301b65c96.tar.bz2 linux-59247eaea50cc68cc6ce3d3fd3855f3301b65c96.zip |
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 <tglx@linutronix.de>
Tested-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions