patch-2.3.46 linux/drivers/i2o/i2o_block.c
Next file: linux/drivers/isdn/Config.in
Previous file: linux/drivers/char/zr36120_mem.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Wed Feb 16 10:56:45 2000
- Orig file:
v2.3.45/linux/drivers/i2o/i2o_block.c
- Orig date:
Fri Jan 21 18:19:16 2000
diff -u --recursive --new-file v2.3.45/linux/drivers/i2o/i2o_block.c linux/drivers/i2o/i2o_block.c
@@ -461,7 +461,7 @@
struct i2ob_device *dev;
u32 m;
- while (CURRENT) {
+ while (!QUEUE_EMPTY) {
/*
* On an IRQ completion if there is an inactive
* request on the queue head it means it isnt yet
@@ -515,8 +515,7 @@
}
}
req->errors = 0;
- CURRENT = CURRENT->next;
- req->next = NULL;
+ blkdev_dequeue_request(req);
req->sem = NULL;
ireq = i2ob_qhead;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)