]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/futex_compat.c
Blackfin EMAC driver: Fix Ethernet communication bug (dupliated and lost packets)
[linux-2.6-omap-h63xx.git] / kernel / futex_compat.c
index cc098e1de960cfc0fc36747146d7b3f121677e25..00b572666cc76178d81979f512dc9e3078b08fda 100644 (file)
@@ -125,8 +125,7 @@ compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr,
 
                ret = -ESRCH;
                read_lock(&tasklist_lock);
-               p = find_task_by_pid_ns(pid,
-                               current->nsproxy->pid_ns);
+               p = find_task_by_vpid(pid);
                if (!p)
                        goto err_unlock;
                ret = -EPERM;