summaryrefslogtreecommitdiff
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@linux.intel.com>2012-07-14 14:19:46 +0300
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-07-23 14:09:34 +0300
commit318b6f18a10aa50829a5f3cbd8612f9617861319 (patch)
tree1b2239c5a0599f33351d1708313f7e892066bde7 /fs/dcache.c
parentdc132d74da5687b9ae44838cd3fca9af3a1ea061 (diff)
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>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions