]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
UBI: use separate mutex for volumes checking
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 25 Dec 2007 16:13:33 +0000 (18:13 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 26 Dec 2007 17:15:17 +0000 (19:15 +0200)
commit783b273afab43437dca731a229d53d72faf77fd3
treedaadf822539189bcc81d64a609f2b084849114e5
parent897a316c9e6f7fea6f1d3759797b75c0ebaec479
UBI: use separate mutex for volumes checking

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