diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pid_namespace.h | 3 | ||||
-rw-r--r-- | include/linux/proc_fs.h | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/pid_namespace.h b/include/linux/pid_namespace.h index 14376ebf4bac..416d4e4ce94e 100644 --- a/include/linux/pid_namespace.h +++ b/include/linux/pid_namespace.h | |||
@@ -23,6 +23,9 @@ struct pid_namespace { | |||
23 | struct kmem_cache *pid_cachep; | 23 | struct kmem_cache *pid_cachep; |
24 | int level; | 24 | int level; |
25 | struct pid_namespace *parent; | 25 | struct pid_namespace *parent; |
26 | #ifdef CONFIG_PROC_FS | ||
27 | struct vfsmount *proc_mnt; | ||
28 | #endif | ||
26 | }; | 29 | }; |
27 | 30 | ||
28 | extern struct pid_namespace init_pid_ns; | 31 | extern struct pid_namespace init_pid_ns; |
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h index dbd601c7244c..cbc1038c7900 100644 --- a/include/linux/proc_fs.h +++ b/include/linux/proc_fs.h | |||
@@ -125,7 +125,8 @@ extern struct proc_dir_entry *create_proc_entry(const char *name, mode_t mode, | |||
125 | extern void remove_proc_entry(const char *name, struct proc_dir_entry *parent); | 125 | extern void remove_proc_entry(const char *name, struct proc_dir_entry *parent); |
126 | 126 | ||
127 | extern struct vfsmount *proc_mnt; | 127 | extern struct vfsmount *proc_mnt; |
128 | extern int proc_fill_super(struct super_block *,void *,int); | 128 | struct pid_namespace; |
129 | extern int proc_fill_super(struct super_block *); | ||
129 | extern struct inode *proc_get_inode(struct super_block *, unsigned int, struct proc_dir_entry *); | 130 | extern struct inode *proc_get_inode(struct super_block *, unsigned int, struct proc_dir_entry *); |
130 | 131 | ||
131 | /* | 132 | /* |