]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
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>
Wed, 31 Dec 2008 12:13:24 +0000 (14:13 +0200)
commitf10383006c26b33539820759b9dc8656497b02a4
treee06ed0b85804ca52d309dc137f06ab4d89de876a
parent304d427cd99eb645b44b08d77e70ce308e6bcd8c
UBIFS: always commit in sync_fs

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>
fs/ubifs/super.c