Artem Bityutskiy 06bef9451a UBIFS: add debugfs knob to switch to R/O mode
This patch adds another debugfs knob which switches UBIFS to R/O mode.
I needed it while trying to reproduce the 'first log node is not CS node'
bug. Without this debugfs knob you have to perform a power cut to repruduce
the bug. The knob is named 'ro_error' and all it does is it sets the
'ro_error' UBIFS flag which makes UBIFS disallow any further writes - even
write-back will fail with -EROFS. Useful for debugging.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
2012-07-20 10:27:25 +03:00
..
2012-05-16 20:11:23 +03:00
2008-12-31 14:13:24 +02:00
2012-07-20 10:27:25 +03:00
2012-05-16 19:15:56 +03:00
2012-06-18 14:17:08 +03:00
2012-05-20 20:25:59 +03:00
2012-05-20 20:25:59 +03:00
2012-01-03 22:52:40 -05:00
2012-05-20 20:25:59 +03:00
2012-05-16 19:53:46 +03:00
2012-05-20 20:25:59 +03:00
2012-05-20 20:25:59 +03:00
2012-05-20 20:25:59 +03:00
2012-05-20 20:25:59 +03:00
2011-07-04 10:54:33 +03:00
2012-05-20 20:25:59 +03:00
2012-05-20 20:25:59 +03:00
2012-05-20 20:25:59 +03:00
2012-07-20 10:13:27 +03:00
2012-05-16 20:11:23 +03:00
2012-05-28 09:54:45 -07:00
2012-05-20 20:25:59 +03:00
2012-05-16 20:11:23 +03:00
2012-05-22 19:30:27 -07:00
2012-05-20 20:25:59 +03:00
2012-05-22 19:30:27 -07:00