ext4: add debugging trigger for ext4_error()
authorTheodore Ts'o <tytso@mit.edu>
Thu, 31 May 2012 02:56:46 +0000 (22:56 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 31 May 2012 02:56:46 +0000 (22:56 -0400)
commit2c0544b23568674efba22532e1f25fb62ce10163
treeb3da7424fc1aa1a69ec5c5c6ae6bbd7a74456364
parent6f2e9f0e7d795214b9cf5a47724a273b705fd113
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
fs/ext4/ext4.h
fs/ext4/super.c