]> bbs.cooldavid.org Git - net-next-2.6.git/commit
UBIFS: fix LEB list freeing
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 23 Jan 2009 12:17:36 +0000 (14:17 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 26 Jan 2009 10:54:11 +0000 (12:54 +0200)
commite4d9b6cbfc98d696a28d2c24a3d49768695811ee
tree5d76848d68add2830efa29b16425e2f07b4f1967
parent82c1593cad3dfc97661764c8bc62aa1a416e9ea8
UBIFS: fix LEB list freeing

When freeing the c->idx_lebs list, we have to release the LEBs as well,
because we might be called from mount to read-only mode code. Otherwise
the LEBs stay taken forever, which may cause problems when we re-mount
back ro RW mode.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/gc.c
fs/ubifs/lprops.c
fs/ubifs/super.c
fs/ubifs/ubifs.h