Whamcloud - gitweb
debugfs: allow fixing superblock errors in catastrophic mode
authorJan Kara <jack@suse.cz>
Tue, 19 Jun 2018 15:26:40 +0000 (11:26 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 19 Jun 2018 15:27:51 +0000 (11:27 -0400)
commitd194a08083380f258415313a86463f731716dd84
tree1701b413c6b0ae494fa15284b874f19d0a83fbb9
parentd338544de1d85aa833eaf72c5186fdae79970753
debugfs: allow fixing superblock errors in catastrophic mode

Open filesystem with EXT2_FLAG_IGNORE_SB_ERRORS flag in catastrophic
mode so that superblock errors can be fixed in debugfs.

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