Skip to content
Snippets Groups Projects
Commit 2ec33a6c authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring/rw: ensure kiocb_end_write() is always called


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: default avatarDave Chinner <david@fromorbit.com>
Link: https://lore.kernel.org/all/20221010050319.GC2703033@dread.disaster.area/


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 00927931
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment