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 e11e0fc3
-
mentioned in commit 221ab461
-
mentioned in commit e154a2b6
-
mentioned in commit dff734aa
-
mentioned in commit f0e2b6bf
-
mentioned in commit 76463497
-
mentioned in commit f771eab2
-
mentioned in commit 4390be5c
-
mentioned in commit 51556245
-
mentioned in commit 51556245
Please sign in to comment