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>
Wed, 27 Aug 2025 18:23:25 +0000 (12:23 -0600)
commit1263f6fc4595f53e57427d3a3e40d1092d0fdd43
tree12499d9907f3076d78237e0549493d420d5b9b7c
parent4c0b26e23c79ecf934a92b2d9a516bffbb61c3e4
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