io_uring: io_sq_thread() no longer needs to reset current->pf_io_worker
authorStefan Metzmacher <metze@samba.org>
Sat, 24 Apr 2021 23:26:04 +0000 (01:26 +0200)
committerJens Axboe <axboe@kernel.dk>
Sun, 25 Apr 2021 16:29:05 +0000 (10:29 -0600)
This is done by create_io_thread() now.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c

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