summaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorTheodore Ts'o2012-05-31 04:56:46 +0200
committerTheodore Ts'o2012-05-31 04:56:46 +0200
commit2c0544b23568674efba22532e1f25fb62ce10163 (patch)
treeb3da7424fc1aa1a69ec5c5c6ae6bbd7a74456364 /fs/ext4/ext4.h
parentext4: protect group inode free counting with group lock (diff)
downloadkernel-qcow2-linux-2c0544b23568674efba22532e1f25fb62ce10163.tar.gz
kernel-qcow2-linux-2c0544b23568674efba22532e1f25fb62ce10163.tar.xz
kernel-qcow2-linux-2c0544b23568674efba22532e1f25fb62ce10163.zip
ext4: add debugging trigger for ext4_error()
Make it easy to test whether or not the error handling subsystem in ext4 is working correctly. This allows us to simulate an ext4_error() by echoing a string to /sys/fs/ext4/<dev>/trigger_fs_error. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: ksumrall@google.com
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r--fs/ext4/ext4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index 511011a1e85d..decc15d1b4b6 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -1197,6 +1197,7 @@ struct ext4_sb_info {
struct proc_dir_entry *s_proc;
struct kobject s_kobj;
struct completion s_kobj_unregister;
+ struct super_block *s_sb;
/* Journaling */
struct journal_s *s_journal;