android_kernel_motorola_sm6375/fs/affs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Alexander Potapenko 3d41f4eeab affs: initialize fsdata in affs_truncate()
[ Upstream commit eef034ac6690118c88f357b00e2b3239c9d8575d ]

When aops->write_begin() does not initialize fsdata, KMSAN may report
an error passing the latter to aops->write_end().

Fix this by unconditionally initializing fsdata.

Fixes: f2b6a16eb8 ("fs: affs convert to new aops")
Suggested-by: Eric Biggers <[email protected]>
Signed-off-by: Alexander Potapenko <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2023-02-06 07:52:36 +01:00
..
affs.h
amigaffs.c
amigaffs.h
bitmap.c
Changes
dir.c
file.c
inode.c
Kconfig
Makefile
namei.c
super.c
symlink.c