diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2007-10-18 23:40:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 11:53:39 -0700 |
commit | 425fb2b4bf5dde24be4a82e9a2c344bb49ac92e4 (patch) | |
tree | 04cdf3042ee0f593b243c6402f2ce3cacac5cc2d /arch | |
parent | 198fe21b0a17fe9c68cb519ecc566534b04f122b (diff) | |
download | op-kernel-dev-425fb2b4bf5dde24be4a82e9a2c344bb49ac92e4.zip op-kernel-dev-425fb2b4bf5dde24be4a82e9a2c344bb49ac92e4.tar.gz |
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 'arch')
0 files changed, 0 insertions, 0 deletions