Artem Bityutskiy 5ffef88ffe UBIFS: switch to RO mode after synchronizing
In 'ubifs_garbage_collect()' on error path, we first switch to R/O mode, and
then synchronize write-buffers (to make sure no data are lost). But the GC
write-buffer synchronization will fail, because we are already in R/O mode.
This patch re-orders this and makes sure we first synchronize the write-buffer,
and then switch to R/O mode.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2010-08-30 10:19:06 +03:00
..
2008-12-31 14:13:24 +02:00
2009-03-08 13:29:09 +02:00
2010-04-29 15:12:18 +03:00
2009-07-12 12:22:34 -07:00
2009-09-10 09:58:11 +03:00
2009-09-15 17:09:48 +03:00
2010-06-12 14:46:15 +03:00
2010-06-12 14:46:15 +03:00
2008-07-15 17:35:24 +03:00
2008-09-30 11:12:56 +03:00
2010-07-13 06:51:57 +03:00
2008-09-30 11:12:57 +03:00