diff options
author | Jan Kara <jack@suse.cz> | 2020-12-16 13:18:43 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-12-22 21:08:46 +0300 |
commit | dfd56c2c0c0dbb11be939b804ddc8d5395ab3432 (patch) | |
tree | 196205dd39f97215408a96f6f852ea70da18d203 /fs/ext4/xattr.c | |
parent | e92ad03fa53498f12b3f5ecb8822adc3bf815b28 (diff) | |
download | linux-dfd56c2c0c0dbb11be939b804ddc8d5395ab3432.tar.xz |
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>
Diffstat (limited to 'fs/ext4/xattr.c')
0 files changed, 0 insertions, 0 deletions