]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
e2fsck: restart the full e2fsck run if the bad block inode is invalidate
authorTheodore Ts'o <tytso@mit.edu>
Fri, 17 Jan 2020 15:51:16 +0000 (10:51 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 17 Jan 2020 15:51:16 +0000 (10:51 -0500)
commitdbc05604d33aece6c4ab55e9f621213243117212
tree194707d74fd41657cec7a85c12deb0e448ad1c58
parentf8e4f457d30ccff19833ddaf6514632f054a4418
e2fsck: restart the full e2fsck run if the bad block inode is invalidate

Previously, we just cleared the bad block list and restarted the inode
scan, but we didn't do a full reset of all of e2fsck's state.  When
code handling this case; we didn't have the framework to do a
restarted run.  Now that we do, we can simply the code and make it
more correct.

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