]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerJiri Slaby <jslaby@suse.cz>
Thu, 13 Nov 2014 18:02:37 +0000 (19:02 +0100)
commit82da3f09d4c518ffb596db2d1794d9e147da0a04
tree6393347cace5cd91818057ae4e65a7beca9fa8a8
parent6eac6ac49db2487a748258be990a34cff73dc792
ext4: enable journal checksum when metadata checksum feature enabled

commit 98c1a7593fa355fda7f5a5940c8bf5326ca964ba upstream.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
fs/ext4/super.c