android_kernel_motorola_sm6375/fs/ext4
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Kara 986fdc7685 ext4: fix superblock checksum failure when setting password salt
commit dfd56c2c0c0dbb11be939b804ddc8d5395ab3432 upstream.

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: 9bd8212f98 ("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]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2021-01-19 18:26:17 +01:00
..
acl.c
acl.h
balloc.c
bitmap.c
block_validity.c ext4: correctly restore system zone info when remount fails 2020-09-03 11:26:57 +02:00
dir.c ext4: avoid utf8_strncasecmp() with unstable name 2020-06-24 17:50:48 +02:00
ext4.h ext4: fix bogus warning in ext4_update_dx_flag() 2020-11-24 13:29:21 +01:00
ext4_extents.h
ext4_jbd2.c
ext4_jbd2.h
extents.c ext4: fix partial cluster initialization when splitting extent 2020-06-24 17:50:47 +02:00
extents_status.c
extents_status.h
file.c ext4: don't leak old mountpoint samples 2021-01-19 18:26:13 +01:00
fsmap.c ext4: limit entries returned when counting fsmap records 2020-10-29 09:57:55 +01:00
fsmap.h
fsync.c ext4: fix race between ext4_sync_parent() and rename() 2020-06-22 09:31:16 +02:00
hash.c
ialloc.c
indirect.c
inline.c ext4: unlock xattr_sem properly in ext4_inline_data_truncate() 2020-11-18 19:20:28 +01:00
inode.c ext4: fix deadlock with fs freezing and EA inodes 2020-12-30 11:51:37 +01:00
ioctl.c ext4: fix superblock checksum failure when setting password salt 2021-01-19 18:26:17 +01:00
Kconfig
Makefile
mballoc.c ext4: fix a memory leak of ext4_free_data 2020-12-30 11:51:37 +01:00
mballoc.h
migrate.c
mmp.c
move_extent.c
namei.c ext4: fix bug for rename with RENAME_WHITEOUT 2021-01-19 18:26:13 +01:00
page-io.c
readpage.c
resize.c ext4: fix error handling code in add_new_gdb 2020-11-05 11:43:35 +01:00
super.c ext4: don't remount read-only with errors=continue on reboot 2021-01-06 14:48:36 +01:00
symlink.c
sysfs.c
truncate.h
verity.c
xattr.c
xattr.h
xattr_security.c
xattr_trusted.c
xattr_user.c