summaryrefslogtreecommitdiffstats
path: root/drivers/i2o
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-24 00:12:35 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-24 00:12:35 +0000
commit482368b1a8e45430672c58c9a42e7d2004367126 (patch)
treece2a1a567d4d62dee7c2e71a46a99cf72cf1d606 /drivers/i2o
parente4d0251c6f56ab2e191afb70f80f382793e23f74 (diff)
Merge with 2.3.47. Guys, this is buggy as shit. You've been warned.
Diffstat (limited to 'drivers/i2o')
-rw-r--r--drivers/i2o/i2o_block.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/i2o/i2o_block.c b/drivers/i2o/i2o_block.c
index a0cab3015..8afad596f 100644
--- a/drivers/i2o/i2o_block.c
+++ b/drivers/i2o/i2o_block.c
@@ -461,7 +461,7 @@ static void i2ob_request(request_queue_t * q)
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 @@ static void i2ob_request(request_queue_t * q)
}
}
req->errors = 0;
- CURRENT = CURRENT->next;
- req->next = NULL;
+ blkdev_dequeue_request(req);
req->sem = NULL;
ireq = i2ob_qhead;