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

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.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent fa55b7dc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);