commit | 304d427cd99eb645b44b08d77e70ce308e6bcd8c | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Sun Dec 28 08:04:17 2008 +0200 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Wed Dec 31 14:13:24 2008 +0200 |
tree | 257a12f1b04d6fad8e40ccd1f9bd712e109c8cf8 | |
parent | 79807d075ab8d1ca3574f5f52421e0047c1f1256 [diff] |
UBIFS: fix file-system synchronization 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>