summaryrefslogtreecommitdiffstats
path: root/drivers/soc
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2023-01-10 13:49:30 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-02-01 08:34:08 +0100
commit964f121334cde6c33a9d071f9360f4d41ef56252 (patch)
tree3dd7816a68e57551fa49720b15af9b370feb12a4 /drivers/soc
parentc37e769f27072c7bb71827ec6b1ebf2646a1aaa1 (diff)
downloadlinux-stable-964f121334cde6c33a9d071f9360f4d41ef56252.tar.gz
linux-stable-964f121334cde6c33a9d071f9360f4d41ef56252.tar.bz2
linux-stable-964f121334cde6c33a9d071f9360f4d41ef56252.zip
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: f2b6a16eb8f5 ("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>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions