acrn-kernel/fs/affs
Alexander Potapenko 964f121334 affs: initialize fsdata in affs_truncate()
[ Upstream commit eef034ac66 ]

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-01 08:34:08 +01:00
..
Changes
Kconfig
Makefile
affs.h
amigaffs.c
amigaffs.h
bitmap.c
dir.c
file.c affs: initialize fsdata in affs_truncate() 2023-02-01 08:34:08 +01:00
inode.c
namei.c
super.c affs: move from strlcpy with unused retval to strscpy 2022-08-19 13:03:10 +02:00
symlink.c affs: Convert affs to read_folio 2022-05-09 16:21:44 -04:00