diff options
| author | Miklos Szeredi <[email protected]> | 2024-10-21 08:02:51 +0000 |
|---|---|---|
| committer | Miklos Szeredi <[email protected]> | 2024-10-21 08:02:51 +0000 |
| commit | 184429a17f8ffc9e188dee9a4459165014025e71 (patch) | |
| tree | 9c4e1eb7eb68dfc6389e673bd3683ea3131242c1 /rust/helpers/task.c | |
| parent | fuse: update inode size after extending passthrough write (diff) | |
| download | kernel-184429a17f8ffc9e188dee9a4459165014025e71.tar.gz kernel-184429a17f8ffc9e188dee9a4459165014025e71.zip | |
Revert "fuse: move initialization of fuse_file to fuse_writepages() instead of in callback"
This reverts commit 672c3b7457fcee9656c36a29a4b21ec4a652433e.
fuse_writepages() might be called with no dirty pages after all writable
opens were closed. In this case __fuse_write_file_get() will return NULL
which will trigger the WARNING.
The exact conditions under which this is triggered is unclear and syzbot
didn't find a reproducer yet.
Reported-by: [email protected]
Link: https://lore.kernel.org/all/CAJnrk1aQwfvb51wQ5rUSf9N8j1hArTFeSkHqC_3T-mU6_BCD=A@mail.gmail.com/
Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions
