diff options
author | Alexander Potapenko <glider@google.com> | 2022-11-21 12:21:32 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2023-01-31 19:47:45 +0100 |
commit | b1b9896718bc1a212dc288ad66a5fa2fef11353d (patch) | |
tree | 246deafc147fc7a5bc9a10267f09beb2c1368a44 /fs/f2fs/inline.c | |
parent | f2fs: fix to check warm_data_age_threshold (diff) | |
download | linux-b1b9896718bc1a212dc288ad66a5fa2fef11353d.tar.xz linux-b1b9896718bc1a212dc288ad66a5fa2fef11353d.zip |
fs: f2fs: initialize fsdata in pagecache_write()
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.
Suggested-by: Eric Biggers <ebiggers@kernel.org>
Fixes: 95ae251fe828 ("f2fs: add fs-verity support")
Signed-off-by: Alexander Potapenko <glider@google.com>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions