Whamcloud - gitweb
e2fsck: clear the orphan_file while processing it
authorTheodore Ts'o <tytso@mit.edu>
Mon, 9 Dec 2024 22:19:26 +0000 (17:19 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 10 Dec 2024 02:44:37 +0000 (21:44 -0500)
commitdb87cf4cdd9960a270ae7df80204dc93016664bc
tree8ecd32349aed20eabab1c522f8025aba653ab910
parent5c856fa5453558404c54d1e4bbc47cdd0bed4be3
e2fsck: clear the orphan_file while processing it

Previously, we cleared the orphan file after pass 5.  This was
unfortunate, because it means that the file system is left in a
corrupted state after running "e2fsck -E journal_only".  By fixing
this, we can also remove a spurious "Orpan file... is not clean"
report from e2fsck.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/super.c
tests/f_clear_orphan_file/expect.1