Revision 59247eaea50cc68cc6ce3d3fd3855f3301b65c96 authored by Jens Axboe on 06 March 2009, 07:55:24 UTC, committed by Jens Axboe on 06 March 2009, 07:55:24 UTC
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>
1 parent a3941ec
History
File Mode Size
Makefile -rw-r--r-- 209 bytes
common.h -rw-r--r-- 12.0 KB
cphy.h -rw-r--r-- 6.2 KB
cpl5_cmd.h -rw-r--r-- 12.3 KB
cxgb2.c -rw-r--r-- 38.2 KB
elmer0.h -rw-r--r-- 6.7 KB
espi.c -rw-r--r-- 12.5 KB
espi.h -rw-r--r-- 3.6 KB
fpga_defs.h -rw-r--r-- 7.9 KB
gmac.h -rw-r--r-- 5.2 KB
mv88e1xxx.c -rw-r--r-- 10.0 KB
mv88e1xxx.h -rw-r--r-- 4.3 KB
mv88x201x.c -rw-r--r-- 8.0 KB
my3126.c -rw-r--r-- 4.4 KB
pm3393.c -rw-r--r-- 29.5 KB
regs.h -rw-r--r-- 72.9 KB
sge.c -rw-r--r-- 58.4 KB
sge.h -rw-r--r-- 5.0 KB
subr.c -rw-r--r-- 31.6 KB
suni1x10gexp_regs.h -rw-r--r-- 86.1 KB
tp.c -rw-r--r-- 4.2 KB
tp.h -rw-r--r-- 1.7 KB
vsc7326.c -rw-r--r-- 19.4 KB
vsc7326_reg.h -rw-r--r-- 15.2 KB

back to top