Merge tag 'pci-v3.9-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
[firefly-linux-kernel-4.4.55.git] / kernel / nsproxy.c
index 78e2ecb201655575dceef87cd9f8c771547bcfb7..b781e66a8f2c4fca3943f2441f7d19296128f525 100644 (file)
@@ -153,8 +153,7 @@ int copy_namespaces(unsigned long flags, struct task_struct *tsk)
                goto out;
        }
 
-       new_ns = create_new_namespaces(flags, tsk,
-                                      task_cred_xxx(tsk, user_ns), tsk->fs);
+       new_ns = create_new_namespaces(flags, tsk, user_ns, tsk->fs);
        if (IS_ERR(new_ns)) {
                err = PTR_ERR(new_ns);
                goto out;