mirror of https://github.com/vitalif/e2fsprogs
![]() Add a LOG2_CHECK mode for check_super_value() so that it is easy to verify values that are supposed to be power-of-two values (s_desc_size and s_inode_size so far). In ext2fs_check_desc() also check for a power-of-two s_desc_size. Print out s_desc_size in debugfs "stats" and dumpe2fs output, if it is non-zero. It turns out that the s_desc_size validation in check_super_block() is not currently used by e2fsck, because the group descriptors are verified earlier by ext2fs_check_desc(), and even without an explicit check of s_desc_size the group descriptors fail to align correctly on disk. It makes sense to keep the check_super_block() regardless, in case the code changes at some point in the future. Signed-off-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> |
||
---|---|---|
.. | ||
Makefile.in | ||
e2p.h | ||
e2p.pc.in | ||
feature.c | ||
fgetflags.c | ||
fgetversion.c | ||
fsetflags.c | ||
fsetversion.c | ||
getflags.c | ||
getversion.c | ||
hashstr.c | ||
iod.c | ||
ls.c | ||
mntopts.c | ||
ostype.c | ||
parse_num.c | ||
pe.c | ||
percent.c | ||
pf.c | ||
ps.c | ||
setflags.c | ||
setversion.c | ||
uuid.c |