Signed-off-by: Stefan Metzmacher <metze@xxxxxxxxx> --- fs/proc/array.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/proc/array.c b/fs/proc/array.c index bb87e4d89cd8..e1d40d124385 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c @@ -92,6 +92,7 @@ #include <linux/string_helpers.h> #include <linux/user_namespace.h> #include <linux/fs_struct.h> +#include "../io-wq.h" #include <asm/processor.h> #include "internal.h" @@ -105,6 +106,8 @@ void proc_task_name(struct seq_file *m, struct task_struct *p, bool escape) if (p->flags & PF_WQ_WORKER) wq_worker_comm(tcomm, sizeof(tcomm), p); + else if (p->flags & PF_IO_WORKER) + io_wq_worker_comm(tcomm, sizeof(tcomm), p); else __get_task_comm(tcomm, sizeof(tcomm), p); -- 2.25.1