diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2024-10-21 10:02:51 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2024-10-21 10:02:51 +0200 |
commit | 184429a17f8ffc9e188dee9a4459165014025e71 (patch) | |
tree | 9c4e1eb7eb68dfc6389e673bd3683ea3131242c1 /drivers/input/touchscreen | |
parent | 20121d3f58f06e977ca43eb6efe1fb23b1d2f6d9 (diff) |
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: syzbot+217a976dc26ef2fa8711@syzkaller.appspotmail.com
Link: https://lore.kernel.org/all/CAJnrk1aQwfvb51wQ5rUSf9N8j1hArTFeSkHqC_3T-mU6_BCD=A@mail.gmail.com/
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'drivers/input/touchscreen')
0 files changed, 0 insertions, 0 deletions