diff options
author | Dylan Yudaken <dylany@meta.com> | 2022-11-25 13:34:10 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-11-25 16:10:46 +0300 |
commit | 27f35fe9096b183d45ff6f22ad277ddf107d8428 (patch) | |
tree | 37efcb70f0aa34cb6104c342df841246224d8057 /io_uring/io_uring.c | |
parent | 9a6924519e5e882631a7fff429facca838207e45 (diff) | |
download | linux-27f35fe9096b183d45ff6f22ad277ddf107d8428.tar.xz |
io_uring: remove io_req_complete_post_tw
It's only used in one place. Inline it.
Signed-off-by: Dylan Yudaken <dylany@meta.com>
Link: https://lore.kernel.org/r/20221125103412.1425305-2-dylany@meta.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/io_uring.c')
-rw-r--r-- | io_uring/io_uring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c index 72c97af4f292..24aa049fe7e1 100644 --- a/io_uring/io_uring.c +++ b/io_uring/io_uring.c @@ -1519,7 +1519,7 @@ void io_req_task_complete(struct io_kiocb *req, bool *locked) if (*locked) io_req_complete_defer(req); else - io_req_complete_post_tw(req, locked); + io_req_complete_post(req, IO_URING_F_UNLOCKED); } /* |