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