UBIFS: always commit in sync_fs
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sun, 28 Dec 2008 06:16:32 +0000 (08:16 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 5 Jan 2009 19:38:59 +0000 (21:38 +0200)
Always run commit in sync_fs, because even if the journal seems
to be almost empty, there may be a deletion which removes a large
file, which affects the index greatly. And because we want
better free space predictions after 'sync_fs()', we have to
commit.

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

No differences found