aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/jbd2.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@us.ibm.com>2012-05-27 08:08:22 -0400
committerTheodore Ts'o <tytso@mit.edu>2012-05-27 08:08:22 -0400
commit4fd5ea43bc11602bfabe2c8f5378586d34bd2b0a (patch)
tree2a5e49a91ecb67c5a89eb0abe55f2b15495f738f /include/linux/jbd2.h
parentjbd2: Grab a reference to the crc32c driver if necessary (diff)
downloadlinux-dev-4fd5ea43bc11602bfabe2c8f5378586d34bd2b0a.tar.xz
linux-dev-4fd5ea43bc11602bfabe2c8f5378586d34bd2b0a.zip
jbd2: checksum journal superblock
Calculate and verify a checksum covering the journal superblock. 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, 3 insertions, 0 deletions
diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h
index 71e77dddebf1..a9632bc55d97 100644
--- a/include/linux/jbd2.h
+++ b/include/linux/jbd2.h
@@ -969,6 +969,9 @@ struct journal_s
/* Reference to checksum algorithm driver via cryptoapi */
struct crypto_shash *j_chksum_driver;
+
+ /* Precomputed journal UUID checksum for seeding other checksums */
+ __u32 j_csum_seed;
};
/*