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
File | Mode | Size |
---|---|---|
82571.c | -rw-r--r-- | 40.1 KB |
Makefile | -rw-r--r-- | 1.4 KB |
defines.h | -rw-r--r-- | 34.5 KB |
e1000.h | -rw-r--r-- | 18.4 KB |
es2lan.c | -rw-r--r-- | 38.1 KB |
ethtool.c | -rw-r--r-- | 53.0 KB |
hw.h | -rw-r--r-- | 27.7 KB |
ich8lan.c | -rw-r--r-- | 71.5 KB |
lib.c | -rw-r--r-- | 66.5 KB |
netdev.c | -rw-r--r-- | 141.7 KB |
param.c | -rw-r--r-- | 12.0 KB |
phy.c | -rw-r--r-- | 61.1 KB |
Computing file changes ...