Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[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) {