patch-2.3.46 linux/drivers/block/swim_iop.c
Next file: linux/drivers/block/xd.c
Previous file: linux/drivers/block/swim3.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Feb 16 10:56:45 2000
- Orig file:
v2.3.45/linux/drivers/block/swim_iop.c
- Orig date:
Tue Feb 1 01:35:43 2000
diff -u --recursive --new-file v2.3.45/linux/drivers/block/swim_iop.c linux/drivers/block/swim_iop.c
@@ -550,7 +550,7 @@
wake_up(&fs->wait);
return;
}
- while (CURRENT && fs->state == idle) {
+ while (!QUEUE_EMPTY && fs->state == idle) {
if (MAJOR(CURRENT->rq_dev) != MAJOR_NR)
panic(DEVICE_NAME ": request list destroyed");
if (CURRENT->bh && !buffer_locked(CURRENT->bh))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)