diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2007-10-19 10:40:07 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 22:53:39 +0400 |
commit | 425fb2b4bf5dde24be4a82e9a2c344bb49ac92e4 (patch) | |
tree | 04cdf3042ee0f593b243c6402f2ce3cacac5cc2d /include/linux | |
parent | 198fe21b0a17fe9c68cb519ecc566534b04f122b (diff) | |
download | linux-425fb2b4bf5dde24be4a82e9a2c344bb49ac92e4.tar.xz |
pid namespaces: move alloc_pid() lower in copy_process()
When we create new namespace we will need to allocate the struct pid, that
will have one extra struct upid in array, comparing to the parent.
Thus we need to know the new namespace (if any) in alloc_pid() to init this
struct upid properly, so move the alloc_pid() call lower in copy_process().
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Cc: Paul Menage <menage@google.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions