linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / mmc / mmc_queue.c
index 74f8cde..0b9682e 100644 (file)
@@ -79,8 +79,7 @@ static int mmc_queue_thread(void *d)
                spin_lock_irq(q->queue_lock);
                set_current_state(TASK_INTERRUPTIBLE);
                if (!blk_queue_plugged(q))
-                       req = elv_next_request(q);
-               mq->req = req;
+                       mq->req = req = elv_next_request(q);
                spin_unlock_irq(q->queue_lock);
 
                if (!req) {