commit | 5b0a6acc73fcac5f7d17badd09275bf7b9b46603 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Wed Jun 30 21:54:04 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Jul 01 13:40:23 2021 -0600 |
tree | 8e27d4b32718a284231e444c659777d4bde2cbe4 | |
parent | 9011bf9a13e3b5710c3cfc330da829ee25b5a029 [diff] |
io_uring: simplify task_work func Since we don't really use req->task_work anymore, get rid of it together with the nasty ->func aliasing between ->io_task_work and ->task_work, and hide ->fallback_node inside of io_task_work. Also, as task_work is gone now, replace the callback type from task_work_func_t to a function taking io_kiocb to avoid casting and simplify code. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>