mirror of https://github.com/vitalif/e2fsprogs
tune2fs: rewrite block bitmap checksums
When toggling metadata_csum, mark the block bitmap dirty so that it gets written with new checksums. Signed-off-by: Darrick J. Wong <djwong@us.ibm.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>pu
parent
d1b9d835b5
commit
544058f261
|
@ -429,6 +429,7 @@ static void rewrite_metadata_checksums(ext2_filsys fs)
|
|||
rewrite_inodes(fs);
|
||||
ext2fs_read_bitmaps(fs);
|
||||
ext2fs_mark_ib_dirty(fs);
|
||||
ext2fs_mark_bb_dirty(fs);
|
||||
fs->flags &= ~EXT2_FLAG_SUPER_ONLY;
|
||||
fs->flags &= ~EXT2_FLAG_IGNORE_CSUM_ERRORS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue