[PATCH] mcdx.c timeout fix

Gert Vervoort (Gert.Vervoort@wxs.nl)
Sun, 08 Nov 1998 15:25:48 +0100


--- linux/drivers/cdrom/mcdx.c.127 Sun Nov 8 14:13:50 1998
+++ linux/drivers/cdrom/mcdx.c Sun Nov 8 14:28:04 1998
@@ -797,9 +797,8 @@
schedule_timeout(0);
}
} else {
- current->timeout = tout;
xtrace(SLEEP, "*** delay: sleepq\n");
- interruptible_sleep_on(&stuff->sleepq);
+ interruptible_sleep_on_timeout(&stuff->sleepq, jifs);
xtrace(SLEEP, "delay awoken\n");
if (signal_pending(current)) {
xtrace(SLEEP, "got signal\n");

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/