Commit f6f9b278 authored by Kamal Mostafa's avatar Kamal Mostafa Committed by Jens Axboe

io_uring: fix missed comment from *task_file rename

Fix comment referring to function "io_uring_del_task_file()", now called
"io_uring_del_tctx_node()".

Fixes: eef51daa ("io_uring: rename function *task_file")
Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
Link: https://lore.kernel.org/r/20211116175530.31608-1-kamal@canonical.comSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent fa55b7dc
......@@ -9764,7 +9764,7 @@ static __cold void io_uring_clean_tctx(struct io_uring_task *tctx)
}
if (wq) {
/*
* Must be after io_uring_del_task_file() (removes nodes under
* Must be after io_uring_del_tctx_node() (removes nodes under
* uring_lock) to avoid race with io_uring_try_cancel_iowq().
*/
io_wq_put_and_exit(wq);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment