aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2020-12-16 10:18:43 +0000
committerTheodore Ts'o <[email protected]>2020-12-22 18:08:46 +0000
commitdfd56c2c0c0dbb11be939b804ddc8d5395ab3432 (patch)
tree196205dd39f97215408a96f6f852ea70da18d203 /fs/ext4/fast_commit.c
parentext4: use sbi instead of EXT4_SB(sb) in ext4_update_super() (diff)
downloadkernel-dfd56c2c0c0dbb11be939b804ddc8d5395ab3432.tar.gz
kernel-dfd56c2c0c0dbb11be939b804ddc8d5395ab3432.zip
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 <[email protected]> Reported-by: Andreas Dilger <[email protected]> Fixes: 9bd8212f981e ("ext4 crypto: add encryption policy and password salt support") Signed-off-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions