patch-1.3.14 linux/drivers/block/cm206.c
Next file: linux/drivers/block/floppy.c
Previous file: linux/drivers/block/cdu31a.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Jul 31 09:46:27 1995
- Orig file:
v1.3.13/linux/drivers/block/cm206.c
- Orig date:
Tue Jul 25 18:21:21 1995
diff -u --recursive --new-file v1.3.13/linux/drivers/block/cm206.c linux/drivers/block/cm206.c
@@ -302,7 +302,7 @@
int sleep_or_timeout(struct wait_queue ** wait, int timeout)
{
cd->timer.data=(unsigned long) wait;
- cd->timer.expires = timeout;
+ cd->timer.expires = jiffies + timeout;
add_timer(&cd->timer);
interruptible_sleep_on(wait);
del_timer(&cd->timer);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this