aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSukadev Bhattiprolu <sukadev@us.ibm.com>2006-12-08 05:37:58 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 11:28:52 -0500
commit61a58c6c238cc81f7742b8cc84212cc55fb57747 (patch)
treede0a4338b9c9c42aa5a47293e129282172a6053f /include/linux
parent373beb35cd6b625e0ba4ad98baace12310a26aa8 (diff)
[PATCH] rename struct pspace to struct pid_namespace
Rename struct pspace to struct pid_namespace for consistency with other namespaces (uts_namespace and ipc_namespace). Also rename include/linux/pspace.h to include/linux/pid_namespace.h and variables from pspace to pid_ns. Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com> Signed-off-by: Cedric Le Goater <clg@fr.ibm.com> Cc: Kirill Korotaev <dev@openvz.org> Cc: Eric W. Biederman <ebiederm@xmission.com> Cc: Herbert Poetzl <herbert@13thfloor.at> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/pid_namespace.h (renamed from include/linux/pspace.h)10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/pspace.h b/include/linux/pid_namespace.h
index 91d48b8b2d99..54d79095e295 100644
--- a/include/linux/pspace.h
+++ b/include/linux/pid_namespace.h
@@ -1,5 +1,5 @@
1#ifndef _LINUX_PSPACE_H 1#ifndef _LINUX_PID_NS_H
2#define _LINUX_PSPACE_H 2#define _LINUX_PID_NS_H
3 3
4#include <linux/sched.h> 4#include <linux/sched.h>
5#include <linux/mm.h> 5#include <linux/mm.h>
@@ -13,11 +13,11 @@ struct pidmap {
13 13
14#define PIDMAP_ENTRIES ((PID_MAX_LIMIT + 8*PAGE_SIZE - 1)/PAGE_SIZE/8) 14#define PIDMAP_ENTRIES ((PID_MAX_LIMIT + 8*PAGE_SIZE - 1)/PAGE_SIZE/8)
15 15
16struct pspace { 16struct pid_namespace {
17 struct pidmap pidmap[PIDMAP_ENTRIES]; 17 struct pidmap pidmap[PIDMAP_ENTRIES];
18 int last_pid; 18 int last_pid;
19}; 19};
20 20
21extern struct pspace init_pspace; 21extern struct pid_namespace init_pid_ns;
22 22
23#endif /* _LINUX_PSPACE_H */ 23#endif /* _LINUX_PID_NS_H */