patch-1.3.14 linux/drivers/block/sjcd.c

Next file: linux/drivers/char/lp.c
Previous file: linux/drivers/block/sbpcd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.13/linux/drivers/block/sjcd.c linux/drivers/block/sjcd.c
@@ -191,8 +191,8 @@
  */
 static struct timer_list sjcd_delay_timer = { NULL, NULL, 0, 0, NULL };
 
-#define SJCD_SET_TIMER( func, jiffies )           \
-    ( sjcd_delay_timer.expires = jiffies,         \
+#define SJCD_SET_TIMER( func, tmout )           \
+    ( sjcd_delay_timer.expires = jiffies+tmout,         \
       sjcd_delay_timer.function = ( void * )func, \
       add_timer( &sjcd_delay_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