UBI: tweak volumes locking some more
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 17 Dec 2007 15:08:55 +0000 (17:08 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 25 May 2009 14:08:23 +0000 (17:08 +0300)
commit428e76ff2c7f2b9b0cb3390780c4a6f7fc624453
tree3fc44c14ccb5f357b72132044758354a53845d98
parent304f82b04ac7ebd5c5a629baf1654449c5bb7835
UBI: tweak volumes locking some more

Make the code more consistent by requiring the caller to lock the
ubi->volume_mutex, because this is what we do for updates.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/cdev.c
drivers/mtd/ubi/vmt.c