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>
Tue, 30 Sep 2008 08:12:58 +0000 (11:12 +0300)
commitbed79935de9a658678f44b88a097367d3b26429f
tree34f34c585f12d99dbb55131bc389a4894242d102
parent403e12ab30ab160e1015bd998f0abc1865c574e0
UBIFS: allow for sync_fs when read-only

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