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: eef51daa72 ("io_uring: rename function *task_file")
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Link: https://lore.kernel.org/r/20211116175530.31608-1-kamal@canonical.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Kamal Mostafa 2021-11-16 09:55:30 -08:00 committed by Jens Axboe
parent fa55b7dcdc
commit f6f9b278f2

View File

@ -9764,7 +9764,7 @@ static __cold void io_uring_clean_tctx(struct io_uring_task *tctx)
} }
if (wq) { 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(). * uring_lock) to avoid race with io_uring_try_cancel_iowq().
*/ */
io_wq_put_and_exit(wq); io_wq_put_and_exit(wq);