UBIFS: allow for sync_fs when read-only
authorAdrian Hunter <ext-adrian.hunter@nokia.com>
Thu, 11 Sep 2008 11:25:44 +0000 (14:25 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sat, 25 Oct 2008 15:47:36 +0000 (18:47 +0300)
sync_fs can be called even if the file system is mounted
read-only.  Ensure the commit is not run in that case.

Reported-by: Zoltan Sogor <weth@inf.u-szeged.hu>
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>

No differences found