commit | 51a3b0b3dcce2e35091292c33fcc88bd4ddf6bd8 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun Jun 24 21:09:59 2018 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Jun 24 21:09:59 2018 -0400 |
tree | 4d04b9fb7b739f35b5c5b91114cf0a6ac6b610e7 | |
parent | 10b6e089e589a3bfc2b1ee0c9aca98183e4b9b32 [diff] |
e2fsck: only retry to open the file system when the superblock is corrupt Previously we were always retrying the ext2fs_open2() call with the EXT2_FLAG_IGNORE_SB_ERRORS flag. It only makes sense to do this if the superblock is reported as corrupt. Otherwise, it's a waste of time, and results in printing an extra set of error messages to annoy the user. Signed-off-by: Theodore Ts'o <tytso@mit.edu>