summaryrefslogtreecommitdiff
path: root/block/blk-integrity.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-03-06 07:55:24 (GMT)
committerJens Axboe <jens.axboe@oracle.com>2009-03-06 07:55:24 (GMT)
commit59247eaea50cc68cc6ce3d3fd3855f3301b65c96 (patch)
tree76548e4273bb26568810095b14d62a4feaaf86a4 /block/blk-integrity.c
parenta3941ec101a5ec54c1e929730afeb196441a171e (diff)
downloadlinux-fsl-qoriq-59247eaea50cc68cc6ce3d3fd3855f3301b65c96.tar.xz
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 'block/blk-integrity.c')
0 files changed, 0 insertions, 0 deletions