aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorAlexander Potapenko <[email protected]>2022-11-21 12:21:33 +0100
committerAndrew Morton <[email protected]>2023-02-02 22:50:06 -0800
commite52a418d81fb3c9db187ca9aa519c534b30962a8 (patch)
treed6ba11a43979c8b34a27d69b2ad6b6f713006f24 /tools/testing/selftests/bpf/progs/test_autoload.c
parente5576ac8c972a1884950420c3931ddebd018ee9e (diff)
fs: hfs: initialize fsdata in hfs_file_truncate()
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. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Alexander Potapenko <[email protected]> Suggested-by: Eric Biggers <[email protected]> Cc: Andreas Dilger <[email protected]> Cc: Chao Yu <[email protected]> Cc: Jaegeuk Kim <[email protected]> Cc: Theodore Ts'o <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions