]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbc53de10897e8580a22a667b0d5e8b12b092e5d3
treea7cec556c2cbae4dd75c33dd290c7b0988aacff2
parentec1a23002846473fa0de5dd07ceaf4ad8bd13c8e
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