1 ext4: add metadata checksumming to the list of supported features
3 Activate the metadata checksumming feature by adding it to ext4 and jbd2's
4 lists of supported features.
6 Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
7 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
10 include/linux/jbd2.h | 3 ++-
11 2 files changed, 4 insertions(+), 2 deletions(-)
14 diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
15 index 900d5c4..dd75078 100644
18 @@ -1486,7 +1486,8 @@ static inline void ext4_clear_state_flags(struct ext4_inode_info *ei)
19 EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE | \
20 EXT4_FEATURE_RO_COMPAT_BTREE_DIR |\
21 EXT4_FEATURE_RO_COMPAT_HUGE_FILE |\
22 - EXT4_FEATURE_RO_COMPAT_BIGALLOC)
23 + EXT4_FEATURE_RO_COMPAT_BIGALLOC |\
24 + EXT4_FEATURE_RO_COMPAT_METADATA_CSUM)
27 * Default values for user and/or group using reserved blocks