SD: infinite loop. (resend)

2001-01-31 Thread Rogier Wolff
Hi Linus, You must have missed this the first time. So I'll send it again. There is a small problem in sd.c: If a disk doesn't become ready, the loop to try and spin it up doesn't terminate. This can be fixed by moving one statement up a few lines. Patch below (the "start of the loop time" v

SD: infinite loop.

2001-01-25 Thread Rogier Wolff
Hi Linus, Alan, There is a small problem in sd.c: If a disk doesn't become ready, the loop to try and spin it up doesn't terminate. This can be fixed by moving one statement up a few lines. Patch below (the "start of the loop time" variable (spintime_value) is set INSIDE the loop, which means t