diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-10-11 09:06:23 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-21 12:39:29 +0200 |
commit | d8853d66de8774efe8850b47a005b9bbf196995e (patch) | |
tree | 185fe21f24c8f20d07b900884506a3a0cb851d16 /scripts/bpf_helpers_doc.py | |
parent | 5ecafa5a5889e25bb0be840ee71eba2677cdd05e (diff) | |
download | linux-stable-d8853d66de8774efe8850b47a005b9bbf196995e.tar.gz linux-stable-d8853d66de8774efe8850b47a005b9bbf196995e.tar.bz2 linux-stable-d8853d66de8774efe8850b47a005b9bbf196995e.zip |
io_uring/rw: ensure kiocb_end_write() is always called
commit 2ec33a6c3cca9fe2465e82050c81f5ffdc508b36 upstream.
A previous commit moved the notifications and end-write handling, but
it is now missing a few spots where we also want to call both of those.
Without that, we can potentially be missing file notifications, and
more importantly, have an imbalance in the super_block writers sem
accounting.
Fixes: b000145e9907 ("io_uring/rw: defer fsnotify calls to task context")
Reported-by: Dave Chinner <david@fromorbit.com>
Link: https://lore.kernel.org/all/20221010050319.GC2703033@dread.disaster.area/
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions