aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-10-11 09:06:23 -0600
committerJens Axboe <axboe@kernel.dk>2022-10-12 16:30:56 -0600
commit2ec33a6c3cca9fe2465e82050c81f5ffdc508b36 (patch)
treeaf0cba54438baa2191afab4c1d132f78cd963b67 /include/linux
parentio_uring: fix fdinfo sqe offsets calculation (diff)
downloadlinux-dev-2ec33a6c3cca9fe2465e82050c81f5ffdc508b36.tar.xz
linux-dev-2ec33a6c3cca9fe2465e82050c81f5ffdc508b36.zip
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: 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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions