Now that we have the get_task_full_name() implementation which allows the dynamically allocated and filled in task's full name to be passed to interested users, use it in proc_task_name() by default for task names so that user-land can see them through appropriate tools (such as 'ps'). Signed-off-by: Bhupesh <bhupesh@xxxxxxxxxx> --- fs/proc/array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/proc/array.c b/fs/proc/array.c index d6a0369caa931..2cbeb1584f8a4 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c @@ -109,7 +109,7 @@ void proc_task_name(struct seq_file *m, struct task_struct *p, bool escape) else if (p->flags & PF_KTHREAD) get_kthread_comm(tcomm, sizeof(tcomm), p); else - get_task_comm(tcomm, p); + get_task_full_name(tcomm, sizeof(tcomm), p); if (escape) seq_escape_str(m, tcomm, ESCAPE_SPACE | ESCAPE_SPECIAL, "\n\\"); -- 2.38.1