summaryrefslogtreecommitdiff
path: root/fs/io_uring.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2021-04-25 01:26:04 +0200
committerJens Axboe <axboe@kernel.dk>2021-04-25 10:29:05 -0600
commita2a7cc32a5e8cd983912f25a242820107e5613dc (patch)
treeb3fd075e6c88f72df1dd0314581a9e865e95d036 /fs/io_uring.c
parentff244303301f6f2ac90107c61d18826efd0af822 (diff)
io_uring: io_sq_thread() no longer needs to reset current->pf_io_worker
This is done by create_io_thread() now. Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io_uring.c')
-rw-r--r--fs/io_uring.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/io_uring.c b/fs/io_uring.c
index be2be0530798..eef373394ee9 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -6809,7 +6809,6 @@ static int io_sq_thread(void *data)
snprintf(buf, sizeof(buf), "iou-sqp-%d", sqd->task_pid);
set_task_comm(current, buf);
- current->pf_io_worker = NULL;
if (sqd->sq_cpu != -1)
set_cpus_allowed_ptr(current, cpumask_of(sqd->sq_cpu));