git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a606488
)
namespaces: Simplify copy_namespaces so it is clear what is going on.
author
Eric W. Biederman
<ebiederm@xmission.com>
Sun, 10 Mar 2013 00:15:23 +0000
(16:15 -0800)
committer
Eric W. Biederman
<ebiederm@xmission.com>
Sat, 31 Aug 2013 00:30:38 +0000
(17:30 -0700)
Remove the test for the impossible case where tsk->nsproxy == NULL. Fork
will never be called with tsk->nsproxy == NULL.
Only call get_nsproxy when we don't need to generate a new_nsproxy,
and mark the case where we don't generate a new nsproxy as likely.
Remove the code to drop an unnecessarily acquired nsproxy value.
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
kernel/nsproxy.c
patch
|
blob
|
history
diff --cc
kernel/nsproxy.c
Simple merge