Home
last modified time | relevance | path

Searched hist:dfd56c2c (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/ext4/
H A Dioctl.cdfd56c2c Wed Dec 16 04:18:43 CST 2020 Jan Kara <jack@suse.cz> ext4: fix superblock checksum failure when setting password salt

When setting password salt in the superblock, we forget to recompute the
superblock checksum so it will not match until the next superblock
modification which recomputes the checksum. Fix it.

CC: Michael Halcrow <mhalcrow@google.com>
Reported-by: Andreas Dilger <adilger@dilger.ca>
Fixes: 9bd8212f981e ("ext4 crypto: add encryption policy and password salt support")
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20201216101844.22917-8-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>