Whamcloud - gitweb
e2fsck: update the bg_checksum after fixing problems in the bg descriptor
authorTheodore Ts'o <tytso@mit.edu>
Sat, 11 Dec 2021 03:40:40 +0000 (22:40 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 11 Dec 2021 03:40:40 +0000 (22:40 -0500)
commit755e1da8398c0414c3ce4a399f5661f255e61529
treecc6f1ebeaa27689259f40bf6b6bec7129c4f86b0
parent699d448eee4b991acafaae4e4f8222be332d6837
e2fsck: update the bg_checksum after fixing problems in the bg descriptor

Otherwise, we break the block group descriptor's checksum, and while
this gets fixed by e2fsck, it results unnecessary messages printed or
questions asked of the system administrator.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/pass2.c
tests/f_uninit_inode_past_unused/expect.1
tests/f_uninit_restart_fsck/expect.1
tests/f_unused_itable/expect.1