Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: fix missing bio back/front segment size setting in blk_recount…
…_segments() Commit 1e42807 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>
- Loading branch information