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
Kconfig -rw-r--r-- 2.5 KB
Makefile -rw-r--r-- 821 bytes
apm_power.c -rw-r--r-- 10.1 KB
bq27x00_battery.c -rw-r--r-- 8.1 KB
da9030_battery.c -rw-r--r-- 15.8 KB
ds2760_battery.c -rw-r--r-- 12.5 KB
olpc_battery.c -rw-r--r-- 11.1 KB
pcf50633-charger.c -rw-r--r-- 8.7 KB
pda_power.c -rw-r--r-- 8.8 KB
pmu_battery.c -rw-r--r-- 5.2 KB
power_supply.h -rw-r--r-- 1.2 KB
power_supply_core.c -rw-r--r-- 4.3 KB
power_supply_leds.c -rw-r--r-- 4.0 KB
power_supply_sysfs.c -rw-r--r-- 7.2 KB
tosa_battery.c -rw-r--r-- 11.5 KB
wm8350_power.c -rw-r--r-- 15.2 KB
wm97xx_battery.c -rw-r--r-- 6.3 KB

back to top