From: Stefan Metzmacher Date: Sat, 24 Apr 2021 23:26:04 +0000 (+0200) Subject: io_uring: io_sq_thread() no longer needs to reset current->pf_io_worker X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a2a7cc32a5e8cd983912f25a242820107e5613dc;p=linux.git 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 Signed-off-by: Jens Axboe --- 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));