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:

committed by
Theodore Ts'o

parent
01b5adcebb
commit
4fd5ea43bc
@@ -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;
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user