ext4: validate external journal superblock checksum
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 11 Sep 2014 15:44:36 +0000 (11:44 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 11 Sep 2014 15:44:36 +0000 (11:44 -0400)
If the external journal device has metadata_csum enabled, verify
that the superblock checksum matches the block before we try to
mount.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c

diff --cc fs/ext4/super.c
Simple merge