Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1b9d83
)
tune2fs: rewrite block bitmap checksums
author
Darrick J. Wong
<djwong@us.ibm.com>
Mon, 30 Jul 2012 23:12:04 +0000
(19:12 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 30 Jul 2012 23:12:04 +0000
(19:12 -0400)
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>
misc/tune2fs.c
patch
|
blob
|
history
diff --git
a/misc/tune2fs.c
b/misc/tune2fs.c
index
2bd707b
..
826d9cc
100644
(file)
--- a/
misc/tune2fs.c
+++ b/
misc/tune2fs.c
@@
-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;
}