]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kernel/nsproxy.c: remove duplicate task_cred_xxx for user_ns
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Wed, 20 Feb 2013 02:15:37 +0000 (13:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:21 +0000 (16:53 +1100)
commitbfb5bc6bc623348819ba32091d680d4c7c0e4549
treeea1dd4bc1ff964da092191cf64b9c11f2f84592a
parent1970d28d6da61113f49cd50eae3ab3179fd33f9c
kernel/nsproxy.c: remove duplicate task_cred_xxx for user_ns

We can use user_ns, which is also assigned from task_cred_xxx(tsk,
user_ns), at the beginning of copy_namespaces().

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/nsproxy.c