From: Eric W. Biederman Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton --- fs/proc/base.c | 2 +- linux/task_ref.h | 0 task_ref.c | 0 3 files changed, 1 insertion(+), 1 deletion(-) diff -puN fs/proc/base.c~proc-dont-lock-task_structs-indefinitely-tref-ensure-the-references-is-always-on-the-first-task fs/proc/base.c --- devel/fs/proc/base.c~proc-dont-lock-task_structs-indefinitely-tref-ensure-the-references-is-always-on-the-first-task 2006-03-06 18:16:47.000000000 -0800 +++ devel-akpm/fs/proc/base.c 2006-03-06 18:16:47.000000000 -0800 @@ -1341,7 +1341,7 @@ static struct inode *proc_pid_make_inode /* * grab the reference to task. */ - ei->tref = tref_get_by_task(task, PIDTYPE_PID); + ei->tref = tref_get_by_task(task); if (!tref_task(ei->tref)) goto out_unlock; diff -puN include/linux/task_ref.h~proc-dont-lock-task_structs-indefinitely-tref-ensure-the-references-is-always-on-the-first-task include/linux/task_ref.h diff -puN kernel/task_ref.c~proc-dont-lock-task_structs-indefinitely-tref-ensure-the-references-is-always-on-the-first-task kernel/task_ref.c _