patch-2.1.127 linux/drivers/block/md.c
Next file: linux/drivers/block/paride/pcd.c
Previous file: linux/drivers/block/loop.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Sat Oct 31 10:37:14 1998
- Orig file:
v2.1.126/linux/drivers/block/md.c
- Orig date:
Fri Oct 9 13:27:07 1998
diff -u --recursive --new-file v2.1.126/linux/drivers/block/md.c linux/drivers/block/md.c
@@ -1139,8 +1139,7 @@
while (blocksize*j/(jiffies-starttime+1)*HZ/1024 > SPEED_LIMIT)
{
current->state = TASK_INTERRUPTIBLE;
- current->timeout = jiffies+1;
- schedule();
+ schedule_timeout(1);
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov