UBI: use separate mutex for volumes checking
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 25 Dec 2007 16:13:33 +0000 (18:13 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 25 May 2009 14:08:27 +0000 (17:08 +0300)
Introduce a separate mutex which serializes volumes checking,
because we cammot really use volumes_mutex - it cases reverse
locking problems with mtd_tbl_mutex when gluebi is used -
thanks to lockdep.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/build.c
drivers/mtd/ubi/kapi.c
drivers/mtd/ubi/ubi.h

Simple merge
Simple merge
Simple merge