io_uring: fix missed comment from *task_file rename
authorKamal Mostafa <kamal@canonical.com>
Tue, 16 Nov 2021 17:55:30 +0000 (09:55 -0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 17 Nov 2021 00:24:34 +0000 (17:24 -0700)
Fix comment referring to function "io_uring_del_task_file()", now called
"io_uring_del_tctx_node()".

Fixes: eef51daa72f7 ("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>
fs/io_uring.c

index b07196b..e98e7ce 100644 (file)
@@ -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);