summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-10-19 10:40:07 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-19 22:53:39 +0400
commit425fb2b4bf5dde24be4a82e9a2c344bb49ac92e4 (patch)
tree04cdf3042ee0f593b243c6402f2ce3cacac5cc2d /include
parent198fe21b0a17fe9c68cb519ecc566534b04f122b (diff)
downloadlinux-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')
0 files changed, 0 insertions, 0 deletions