]> git.openpandora.org Git - pandora-kernel.git/commit
UBI: introduce volume refcounting
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 17 Dec 2007 13:42:57 +0000 (15:42 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 25 May 2009 14:08:23 +0000 (17:08 +0300)
commit304f82b04ac7ebd5c5a629baf1654449c5bb7835
tree5c6d400a3a2b6bbab87423985e4fe691842750c2
parent46cfb7c209630b2794e13d149e3ae5bb7a433210
UBI: introduce volume refcounting

Add ref_count field to UBI volumes and remove weired "vol->removed"
field. This way things are better understandable and we do not have
to do whold show_attr operation under spinlock.

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