aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ubifs/debug.h')
-rw-r--r--fs/ubifs/debug.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/ubifs/debug.h b/fs/ubifs/debug.h
index 486a8e024fb6..8b8cc4e945f4 100644
--- a/fs/ubifs/debug.h
+++ b/fs/ubifs/debug.h
@@ -79,6 +79,10 @@ typedef int (*dbg_znode_callback)(struct ubifs_info *c,
79 * @dfs_chk_lprops: debugfs knob to enable UBIFS LEP properties extra checks 79 * @dfs_chk_lprops: debugfs knob to enable UBIFS LEP properties extra checks
80 * @dfs_chk_fs: debugfs knob to enable UBIFS contents extra checks 80 * @dfs_chk_fs: debugfs knob to enable UBIFS contents extra checks
81 * @dfs_tst_rcvry: debugfs knob to enable UBIFS recovery testing 81 * @dfs_tst_rcvry: debugfs knob to enable UBIFS recovery testing
82 * @dfs_ro_error: debugfs knob to switch UBIFS to R/O mode (different to
83 * re-mounting to R/O mode because it does not flush any buffers
84 * and UBIFS just starts returning -EROFS on all write
85 * operations)
82 */ 86 */
83struct ubifs_debug_info { 87struct ubifs_debug_info {
84 struct ubifs_zbranch old_zroot; 88 struct ubifs_zbranch old_zroot;
@@ -122,6 +126,7 @@ struct ubifs_debug_info {
122 struct dentry *dfs_chk_lprops; 126 struct dentry *dfs_chk_lprops;
123 struct dentry *dfs_chk_fs; 127 struct dentry *dfs_chk_fs;
124 struct dentry *dfs_tst_rcvry; 128 struct dentry *dfs_tst_rcvry;
129 struct dentry *dfs_ro_error;
125}; 130};
126 131
127/** 132/**