Display the inode bitmap checksum for each block group. Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> --- misc/dumpe2fs.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/misc/dumpe2fs.c b/misc/dumpe2fs.c index 5b114e9..ec4f0e9 100644 --- a/misc/dumpe2fs.c +++ b/misc/dumpe2fs.c @@ -226,6 +226,10 @@ static void list_desc (ext2_filsys fs) print_number(ext2fs_inode_bitmap_loc(fs, i)); print_bg_rel_offset(fs, ext2fs_inode_bitmap_loc(fs, i), 0, first_block, last_block); + if (fs->super->s_feature_ro_compat & + EXT4_FEATURE_RO_COMPAT_METADATA_CSUM) + printf(_(", csum 0x%08x"), + ext2fs_inode_bitmap_checksum(fs, i)); fputs(_("\n Inode table at "), stdout); print_range(ext2fs_inode_table_loc(fs, i), ext2fs_inode_table_loc(fs, i) + -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html