diff options
author | Theodore Ts'o <tytso@mit.edu> | 2012-05-30 22:56:46 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-05-30 22:56:46 -0400 |
commit | 2c0544b23568674efba22532e1f25fb62ce10163 (patch) | |
tree | b3da7424fc1aa1a69ec5c5c6ae6bbd7a74456364 /fs/ext4/ext4.h | |
parent | 6f2e9f0e7d795214b9cf5a47724a273b705fd113 (diff) | |
download | linux-2c0544b23568674efba22532e1f25fb62ce10163.tar.gz linux-2c0544b23568674efba22532e1f25fb62ce10163.tar.bz2 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.h | 1 |
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; |