summaryrefslogtreecommitdiffstats
path: root/io_uring/tctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'io_uring/tctx.c')
-rw-r--r--io_uring/tctx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/io_uring/tctx.c b/io_uring/tctx.c
index c043fe93a3f2..503f3ff8bc4f 100644
--- a/io_uring/tctx.c
+++ b/io_uring/tctx.c
@@ -81,6 +81,7 @@ __cold int io_uring_alloc_task_context(struct task_struct *task,
return ret;
}
+ tctx->task = task;
xa_init(&tctx->xa);
init_waitqueue_head(&tctx->wait);
atomic_set(&tctx->in_cancel, 0);