aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/base.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r--fs/proc/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c
index 36983e7bb2c1..50e149e08d96 100644
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -2333,7 +2333,7 @@ static struct task_struct *next_tgid(unsigned int tgid)
2333 rcu_read_lock(); 2333 rcu_read_lock();
2334retry: 2334retry:
2335 task = NULL; 2335 task = NULL;
2336 pid = find_ge_pid(tgid); 2336 pid = find_ge_pid(tgid, &init_pid_ns);
2337 if (pid) { 2337 if (pid) {
2338 tgid = pid->nr + 1; 2338 tgid = pid->nr + 1;
2339 task = pid_task(pid, PIDTYPE_PID); 2339 task = pid_task(pid, PIDTYPE_PID);