Commit e93376c20b70d1e62bb3246acd1bbe21fe58859f
Committed by
Theodore Ts'o
1 parent
c390087591
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
ext4/jbd2: add metadata checksumming to the list of supported features
Activate the metadata checksumming feature by adding it to ext4 and jbd2's lists of supported features. Signed-off-by: Darrick J. Wong <djwong@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Showing 2 changed files with 4 additions and 2 deletions Side-by-side Diff
fs/ext4/ext4.h
... | ... | @@ -1494,7 +1494,8 @@ |
1494 | 1494 | EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE | \ |
1495 | 1495 | EXT4_FEATURE_RO_COMPAT_BTREE_DIR |\ |
1496 | 1496 | EXT4_FEATURE_RO_COMPAT_HUGE_FILE |\ |
1497 | - EXT4_FEATURE_RO_COMPAT_BIGALLOC) | |
1497 | + EXT4_FEATURE_RO_COMPAT_BIGALLOC |\ | |
1498 | + EXT4_FEATURE_RO_COMPAT_METADATA_CSUM) | |
1498 | 1499 | |
1499 | 1500 | /* |
1500 | 1501 | * Default values for user and/or group using reserved blocks |
include/linux/jbd2.h
... | ... | @@ -296,7 +296,8 @@ |
296 | 296 | #define JBD2_KNOWN_ROCOMPAT_FEATURES 0 |
297 | 297 | #define JBD2_KNOWN_INCOMPAT_FEATURES (JBD2_FEATURE_INCOMPAT_REVOKE | \ |
298 | 298 | JBD2_FEATURE_INCOMPAT_64BIT | \ |
299 | - JBD2_FEATURE_INCOMPAT_ASYNC_COMMIT) | |
299 | + JBD2_FEATURE_INCOMPAT_ASYNC_COMMIT | \ | |
300 | + JBD2_FEATURE_INCOMPAT_CSUM_V2) | |
300 | 301 | |
301 | 302 | #ifdef __KERNEL__ |
302 | 303 |