]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
e2fsck: make the low dtime check consistent when using the backup superblock
authorTheodore Ts'o <tytso@mit.edu>
Mon, 2 Sep 2019 21:44:14 +0000 (17:44 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 3 Sep 2019 00:40:45 +0000 (20:40 -0400)
commit576fada197763b3f60b37c265549bb19c7eebeb1
tree5f9e9904ea3c99f76da00915f92ad36b466ea2fe
parent82d6fa9ea79e44e43f4febb56058250bb30d8c6e
e2fsck: make the low dtime check consistent when using the backup superblock

The backup superblock may have a last mounted time of zero, if it has
never been updated since the file system was created.  In that case,
the low dtime check may get disabled when using the backup superblock,
even though subsequent e2fsck runs will end up using the low dtime
check.  This can cause a failure of ext4/007, since since when e2fsck
is run a second time after the file system is mounted, the low dtime
check will trigger the e2fsck complaint:

Inode NNNN was part of the orphaned inode list.  IGNORED.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/pass1.c
tests/f_no/expect
tests/f_yes/expect
tests/f_yesall/expect
tests/f_yesthenall/expect
tests/f_yesthenno/expect