Re: [PATCH] mcdx.c timeout fix

Jens Axboe (axboe@image.dk)
Sun, 08 Nov 1998 16:39:23 +0100


Gert Vervoort wrote:
> --- 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");
>
> -

Ofcourse, I think I'll leave my computer alone today as I can't seem to
get
anything right...

-- 
*  Jens Axboe
*
* "The only thing that interferes with my
*  learning is my education." -- A. Einstein

- 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/