diff options
| author | Alexander Potapenko <[email protected]> | 2022-11-21 11:21:30 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2022-12-09 02:49:25 +0000 |
| commit | 956510c0c7439e90b8103aaeaf4da92878c622f0 (patch) | |
| tree | 0001e71f9a6919cd5da3e0c2d73c2f4917c20e5f /fs/jbd2/commit.c | |
| parent | ext4: fix delayed allocation bug in ext4_clu_mapped for bigalloc + inline (diff) | |
| download | kernel-956510c0c7439e90b8103aaeaf4da92878c622f0.tar.gz kernel-956510c0c7439e90b8103aaeaf4da92878c622f0.zip | |
fs: ext4: initialize fsdata in pagecache_write()
When aops->write_begin() does not initialize fsdata, KMSAN reports
an error passing the latter to aops->write_end().
Fix this by unconditionally initializing fsdata.
Cc: Eric Biggers <[email protected]>
Fixes: c93d8f885809 ("ext4: add basic fs-verity support")
Reported-by: [email protected]
Signed-off-by: Alexander Potapenko <[email protected]>
Reviewed-by: Eric Biggers <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Cc: [email protected]
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
