|
@@ -79,7 +79,8 @@ static int mmc_queue_thread(void *d)
|
|
|
spin_lock_irq(q->queue_lock);
|
|
spin_lock_irq(q->queue_lock);
|
|
|
set_current_state(TASK_INTERRUPTIBLE);
|
|
set_current_state(TASK_INTERRUPTIBLE);
|
|
|
if (!blk_queue_plugged(q))
|
|
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);
|
|
spin_unlock_irq(q->queue_lock);
|
|
|
|
|
|
|
|
if (!req) {
|
|
if (!req) {
|