commit | 6554a6578131a217d4ea6d779a62f120081a2e8b | [log] [tgz] |
---|---|---|
author | Matthew L. Creech <mlcreech@gmail.com> | Fri May 06 18:58:22 2011 -0400 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Mon May 16 14:12:15 2011 +0300 |
tree | 6be11a0c552de1cc91af01e0011badc4ca185b39 | |
parent | 9f58d3503a1368673609db1962e4a584261b62eb [diff] |
UBIFS: add the fixup function This patch adds the 'ubifs_fixup_free_space()' function which scans all LEBs in the filesystem for those that are in-use but have one or more empty pages, then re-maps the LEBs in order to erase the empty portions. Afterward it removes the "space_fixup" flag from the UBIFS superblock. Artem: massaged the patch Signed-off-by: Matthew L. Creech <mlcreech@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>