Whamcloud - gitweb
debugfs: allow read-write opening in catastrophic mode
authorJan Kara <jack@suse.cz>
Tue, 19 Jun 2018 15:15:53 +0000 (11:15 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 19 Jun 2018 15:27:51 +0000 (11:27 -0400)
commitd338544de1d85aa833eaf72c5186fdae79970753
tree2c0cda3c2ae84223faba764df2696b98695db9cf
parentd74eb7ef5e4ef9590af56744dd8915edf1a4ea12
debugfs: allow read-write opening in catastrophic mode

Allow filesystem to be open read-write in catastrophic mode so that one
can fixup e.g. superblock breakage. The CHECK_FS_BITMAPS flag to
common_args_process() still guards us from doing operations on bitmaps
which we don't load in this mode.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debugfs/debugfs.c