git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
drivers
/
mmc
/
mmc_queue.c
diff --git
a/drivers/mmc/mmc_queue.c
b/drivers/mmc/mmc_queue.c
index
74f8cde
..
0b9682e
100644
(file)
--- a/
drivers/mmc/mmc_queue.c
+++ b/
drivers/mmc/mmc_queue.c
@@
-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))
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) {
spin_unlock_irq(q->queue_lock);
if (!req) {