mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
io_uring: provide generic io_req_complete() helper
We have lots of callers of: io_cqring_add_event(req, result); io_put_req(req); Provide a helper that does this for us. It helps clean up the code, and also provides a more convenient location for us to change the completion handling. Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
d3cac64c49
commit
e1e16097e2
1 changed files with 43 additions and 63 deletions
106
fs/io_uring.c
106
fs/io_uring.c
Loading…
Add table
Add a link
Reference in a new issue