David Woodhouse ce37ab42ad [MTD] Always initialise mutex in new mtd_blktrans_dev.
We were only initialising the mutex in the case where the new device was
automatically allocated the highest minor number. If the caller
specified a minor number, or if it filled in a free slot which was made
by a previous device deregistering, the mutex wouldn't get initialised
when we jumped out of the loop.

Reported by Monte Copeland <catboat@texas.net>

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2007-12-03 12:46:12 +00:00
..
2007-10-17 08:42:52 -07:00
2007-10-16 09:43:09 -07:00
2007-10-19 11:53:42 -07:00
2007-10-20 00:47:32 +02:00
2007-10-20 01:34:40 +02:00
2007-10-24 05:16:25 -04:00
2007-10-20 01:55:58 +02:00
2007-10-25 15:02:50 +10:00
2007-10-20 01:34:40 +02:00
2007-10-20 01:34:40 +02:00
2007-10-27 22:18:12 -07:00
2007-10-23 09:49:31 +02:00
2007-10-19 11:53:41 -07:00
2007-10-19 11:53:41 -07:00
2007-10-20 01:34:40 +02:00
2007-10-20 15:04:06 -07:00
2007-10-16 21:04:11 -04:00
2007-10-17 08:42:57 -07:00
2007-10-25 12:18:46 -07:00
2007-10-27 22:18:12 -07:00
2007-10-23 20:35:13 +00:00
2007-10-23 15:49:54 +10:00