android_kernel_xiaomi_sm8350/fs/affs
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 <ebiggers@kernel.org>
Signed-off-by: Alexander Potapenko <glider@google.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-02-06 07:52:36 +01:00
..
affs.h
amigaffs.c
amigaffs.h
bitmap.c
Changes
dir.c
file.c affs: initialize fsdata in affs_truncate() 2023-02-06 07:52:36 +01:00
inode.c
Kconfig
Makefile
namei.c
super.c
symlink.c