|
@@ -79,6 +79,10 @@ typedef int (*dbg_znode_callback)(struct ubifs_info *c,
|
|
* @dfs_chk_lprops: debugfs knob to enable UBIFS LEP properties extra checks
|
|
* @dfs_chk_lprops: debugfs knob to enable UBIFS LEP properties extra checks
|
|
* @dfs_chk_fs: debugfs knob to enable UBIFS contents extra checks
|
|
* @dfs_chk_fs: debugfs knob to enable UBIFS contents extra checks
|
|
* @dfs_tst_rcvry: debugfs knob to enable UBIFS recovery testing
|
|
* @dfs_tst_rcvry: debugfs knob to enable UBIFS recovery testing
|
|
|
|
+ * @dfs_ro_error: debugfs knob to switch UBIFS to R/O mode (different to
|
|
|
|
+ * re-mounting to R/O mode because it does not flush any buffers
|
|
|
|
+ * and UBIFS just starts returning -EROFS on all write
|
|
|
|
+ * operations)
|
|
*/
|
|
*/
|
|
struct ubifs_debug_info {
|
|
struct ubifs_debug_info {
|
|
struct ubifs_zbranch old_zroot;
|
|
struct ubifs_zbranch old_zroot;
|
|
@@ -122,6 +126,7 @@ struct ubifs_debug_info {
|
|
struct dentry *dfs_chk_lprops;
|
|
struct dentry *dfs_chk_lprops;
|
|
struct dentry *dfs_chk_fs;
|
|
struct dentry *dfs_chk_fs;
|
|
struct dentry *dfs_tst_rcvry;
|
|
struct dentry *dfs_tst_rcvry;
|
|
|
|
+ struct dentry *dfs_ro_error;
|
|
};
|
|
};
|
|
|
|
|
|
/**
|
|
/**
|