Commit deeefec8 authored by Linus Torvalds's avatar Linus Torvalds

Fix mtdblock.c compile. From Adrian Bunk.

parent 15b1d321
......@@ -388,7 +388,7 @@ static void handle_mtdblock_request(void)
struct mtdblk_dev *mtdblk;
unsigned int res;
while ((req = elv_next_request(&mtd_queue) != NULL) {
while ((req = elv_next_request(&mtd_queue)) != NULL) {
struct mtdblk_dev **p = req->rq_disk->private_data;
spin_unlock_irq(mtd_queue.queue_lock);
mtdblk = *p;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment