diff options
author | Darrick J. Wong <djwong@us.ibm.com> | 2012-05-27 16:08:22 +0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-05-27 16:08:22 +0400 |
commit | 4fd5ea43bc11602bfabe2c8f5378586d34bd2b0a (patch) | |
tree | 2a5e49a91ecb67c5a89eb0abe55f2b15495f738f /include/linux/jbd2.h | |
parent | 01b5adcebb977bc61b64167adce6d8260c9da33c (diff) | |
download | linux-4fd5ea43bc11602bfabe2c8f5378586d34bd2b0a.tar.xz |
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.h | 3 |
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; }; /* |