diff options
author | Alexander Potapenko <[email protected]> | 2023-01-10 13:49:30 +0100 |
---|---|---|
committer | David Sterba <[email protected]> | 2023-01-10 14:55:20 +0100 |
commit | eef034ac6690118c88f357b00e2b3239c9d8575d (patch) | |
tree | 3ad7ff26a8a85c9346ee90ca5c4d1ba8145f0cd3 /tools/testing/selftests/bpf | |
parent | b7bfaa761d760e72a969d116517eaa12e404c262 (diff) |
affs: initialize fsdata in affs_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.
Fixes: f2b6a16eb8f5 ("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]>
Diffstat (limited to 'tools/testing/selftests/bpf')
0 files changed, 0 insertions, 0 deletions