Commit 3e224250 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] mtd locking fix

From: David Woodhouse <dwmw2@infradead.org>,
      Dave Jones <davej@redhat.com>

Add a missing unlock.
parent 93ce5396
......@@ -131,6 +131,8 @@ static int mtd_blktrans_thread(void *arg)
end_request(req, res);
}
spin_unlock_irq(rq->queue_lock);
complete_and_exit(&tr->blkcore_priv->thread_dead, 0);
}
......
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