UBIFS: always clean up GC LEB space
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 23 Jan 2009 16:23:03 +0000 (18:23 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 26 Jan 2009 11:17:29 +0000 (13:17 +0200)
When we mount UBIFS, GC LEB may contain out-of-date information,
and UBIFS should update lprops and set free space for thei LEB.
Currently UBIFS does this only if mounted R/W. But for R/O mount
we have to do the same, because otherwise we will have incorrect
FS free space reported to user-space.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

No differences found