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 11:17:29 +0000 (13:17 +0200)
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>

No differences found