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>
This commit is contained in:
Darrick J. Wong
2012-05-27 08:08:22 -04:00
committed by Theodore Ts'o
parent 01b5adcebb
commit 4fd5ea43bc
2 changed files with 50 additions and 0 deletions

View File

@@ -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;
};
/*