summaryrefslogtreecommitdiff
path: root/tests/f_first_meta_bg_too_big
Commit message (Collapse)AuthorAgeFilesLines
* libext2fs: in ext2fs_open[2](), return an error if s_first_meta_bg is too bigTheodore Ts'o2022-09-131-0/+4
| | | | | | | These checks will be skipped for e2fsck when it uses the flag EXT2_FLAG_IGNORE_SB_ERRORS. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
* tests: add f_first_meta_bg_too_big testTheodore Ts'o2014-08-104-0/+28
The test verifies that e2fsck can properly fix a file system where the value of s_first_meta_bg in the superblock is larger than the number of block group descriptors in the file system. E2fsck will fix this by clearing the meta_bg feature. Signed-off-by: Theodore Ts'o <tytso@mit.edu>