ext4: enable journal checksum when metadata checksum feature enabled
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 30 Oct 2014 14:53:16 +0000 (10:53 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 30 Oct 2014 14:53:16 +0000 (10:53 -0400)
commit98c1a7593fa355fda7f5a5940c8bf5326ca964ba
treea7cec556c2cbae4dd75c33dd290c7b0988aacff2
parent599a9b77ab289d85c2d5c8607624efbe1f552b0f
ext4: enable journal checksum when metadata checksum feature enabled

If metadata checksumming is turned on for the FS, we need to tell the
journal to use checksumming too.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
fs/ext4/super.c