]> 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>
Thu, 7 Feb 2013 01:27:40 +0000 (12:27 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:47:12 +0000 (16:47 +1100)
commitc740344c3bb6bee54008cca869765805c8869057
treef144a3a50fc50136a28d7ce5fd72c446763f6daf
parente215bbff43bc285a776073ae539c7b8807b8dbf0
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