summaryrefslogtreecommitdiffstats
path: root/include/linux/jbd2.h
diff options
context:
space:
mode:
authorDarrick J. Wong2012-05-27 14:12:42 +0200
committerTheodore Ts'o2012-05-27 14:12:42 +0200
commite93376c20b70d1e62bb3246acd1bbe21fe58859f (patch)
tree922a51a3ce32a229d2b57be3bade92e356f10c88 /include/linux/jbd2.h
parentjbd2: checksum data blocks that are stored in the journal (diff)
downloadkernel-qcow2-linux-e93376c20b70d1e62bb3246acd1bbe21fe58859f.tar.gz
kernel-qcow2-linux-e93376c20b70d1e62bb3246acd1bbe21fe58859f.tar.xz
kernel-qcow2-linux-e93376c20b70d1e62bb3246acd1bbe21fe58859f.zip
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>
Diffstat (limited to 'include/linux/jbd2.h')
-rw-r--r--include/linux/jbd2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h
index a9632bc55d97..f334c7fab967 100644
--- a/include/linux/jbd2.h
+++ b/include/linux/jbd2.h
@@ -296,7 +296,8 @@ typedef struct journal_superblock_s
#define JBD2_KNOWN_ROCOMPAT_FEATURES 0
#define JBD2_KNOWN_INCOMPAT_FEATURES (JBD2_FEATURE_INCOMPAT_REVOKE | \
JBD2_FEATURE_INCOMPAT_64BIT | \
- JBD2_FEATURE_INCOMPAT_ASYNC_COMMIT)
+ JBD2_FEATURE_INCOMPAT_ASYNC_COMMIT | \
+ JBD2_FEATURE_INCOMPAT_CSUM_V2)
#ifdef __KERNEL__