diff options
Diffstat (limited to 'kernel/futex_compat.c')
-rw-r--r-- | kernel/futex_compat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/futex_compat.c b/kernel/futex_compat.c index cc098e1de960..00b572666cc7 100644 --- a/kernel/futex_compat.c +++ b/kernel/futex_compat.c | |||
@@ -125,8 +125,7 @@ compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr, | |||
125 | 125 | ||
126 | ret = -ESRCH; | 126 | ret = -ESRCH; |
127 | read_lock(&tasklist_lock); | 127 | read_lock(&tasklist_lock); |
128 | p = find_task_by_pid_ns(pid, | 128 | p = find_task_by_vpid(pid); |
129 | current->nsproxy->pid_ns); | ||
130 | if (!p) | 129 | if (!p) |
131 | goto err_unlock; | 130 | goto err_unlock; |
132 | ret = -EPERM; | 131 | ret = -EPERM; |