On Sun, 2 Apr 2000, Andrew Morton wrote:
>Wow. I hadn't spotted that 'counter % 100'. They're spewing out now,
>even without 'sync'
>
>I've attached here one for device 21:05 (aka 33:05, aka /dev/hde5)
Here the fix:
--- 2.3.99-pre4-pre2aa/drivers/ide/ide.c.~1~ Mon Mar 27 22:44:47 2000
+++ 2.3.99-pre4-pre2aa/drivers/ide/ide.c Sun Apr 2 03:11:22 2000
@@ -1662,6 +1662,7 @@
rq->cmd = IDE_DRIVE_CMD;
rq->sector = 0;
rq->nr_sectors = 0;
+ rq->nr_segments = 0;
rq->current_nr_sectors = 0;
rq->sem = NULL;
rq->bh = NULL;
Andrea