UBIFS: fix file-system synchronization
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sun, 28 Dec 2008 06:04:17 +0000 (08:04 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 5 Jan 2009 19:38:59 +0000 (21:38 +0200)
Argh. The ->sync_fs call is called _before_ all inodes are flushed.
This means we first sync write buffers and commit, then all
inodes are synced, and we end up with unflushed write buffers!

Fix this by forcing synching all indoes from 'ubifs_sync_fs()'.

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

No differences found