summaryrefslogtreecommitdiff
path: root/drivers/mmc/mmc_queue.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-08-19 17:27:12 -0400
committerJeff Garzik <jeff@garzik.org>2006-08-19 17:27:12 -0400
commitd14b50cc60ca465290fcdb3b88e7d5fb684361ed (patch)
treec4a712123b94cd4c0ab4d8d9d87a7619e9bcb6ba /drivers/mmc/mmc_queue.c
parenta34b6fc04d58ad72fe0cc74cd448f4551bd2ebaf (diff)
parentef7d1b244fa6c94fb76d5f787b8629df64ea4046 (diff)
Merge branch 'master' into upstream-fixes
Diffstat (limited to 'drivers/mmc/mmc_queue.c')
-rw-r--r--drivers/mmc/mmc_queue.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/mmc_queue.c b/drivers/mmc/mmc_queue.c
index 0b9682e9a357..74f8cdeeff0f 100644
--- a/drivers/mmc/mmc_queue.c
+++ b/drivers/mmc/mmc_queue.c
@@ -79,7 +79,8 @@ static int mmc_queue_thread(void *d)
spin_lock_irq(q->queue_lock);
set_current_state(TASK_INTERRUPTIBLE);
if (!blk_queue_plugged(q))
- mq->req = req = elv_next_request(q);
+ req = elv_next_request(q);
+ mq->req = req;
spin_unlock_irq(q->queue_lock);
if (!req) {