io_uring: use io_req_local_work_add() in io_req_task_work_add_remote()
authorJens Axboe <axboe@kernel.dk>
Sun, 27 Jul 2025 14:14:46 +0000 (08:14 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 9 Aug 2025 14:38:27 +0000 (08:38 -0600)
commitd4e4929d9001b4edffac5e80fb05ec4feceba7a6
tree43c193c089e950c32b865d20bf5fd3cec275d09f
parent08ee1e5e073be533e04a8594960a6f395b876e66
io_uring: use io_req_local_work_add() in io_req_task_work_add_remote()

This helper only supports rings setup with DEFER_TASKRUN anyway, hence
it's pointless to call the generic task_work add handler as it's known
it will be using the local variant anyway.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c