diff options
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r-- | fs/proc/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index db7636041c10..991482811f1e 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c | |||
@@ -2553,7 +2553,7 @@ static struct dentry *proc_task_lookup(struct inode *dir, struct dentry * dentry | |||
2553 | rcu_read_unlock(); | 2553 | rcu_read_unlock(); |
2554 | if (!task) | 2554 | if (!task) |
2555 | goto out; | 2555 | goto out; |
2556 | if (leader->tgid != task->tgid) | 2556 | if (!same_thread_group(leader, task)) |
2557 | goto out_drop_task; | 2557 | goto out_drop_task; |
2558 | 2558 | ||
2559 | result = proc_task_instantiate(dir, dentry, task, NULL); | 2559 | result = proc_task_instantiate(dir, dentry, task, NULL); |