io_uring/rw: ensure kiocb_end_write() is always called
commit 2ec33a6c 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: b000145e ("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>
Loading
-
mentioned in commit 8b76b0db
-
mentioned in commit 4264dddf
-
mentioned in commit 269c5da5
-
mentioned in commit 85efd289
-
mentioned in commit 1eb1b14a
-
mentioned in commit d776f3d6
-
mentioned in commit a30f06c3
-
mentioned in commit 45ec3bfa
-
mentioned in commit 74ce633c
-
mentioned in commit d419b1b0
-
mentioned in commit ca331f28
-
mentioned in commit fb0cece7
-
mentioned in commit fb0cece7
-
mentioned in commit dcf079a9
-
mentioned in commit 9609b575
-
mentioned in commit 482629f5
-
mentioned in commit 596b9996
-
mentioned in commit 7a89b0ac
-
mentioned in commit b28a5779
-
mentioned in commit b28a5779
Please sign in to comment