xref: /linux/include/linux/mnt_namespace.h (revision 771b1371686e0a63e938ada28de020b9a0040f55)
16b3286edSKirill Korotaev #ifndef _NAMESPACE_H_
26b3286edSKirill Korotaev #define _NAMESPACE_H_
36b3286edSKirill Korotaev #ifdef __KERNEL__
46b3286edSKirill Korotaev 
50226f492SAl Viro struct mnt_namespace;
65ad4e53bSAl Viro struct fs_struct;
7*771b1371SEric W. Biederman struct user_namespace;
85ad4e53bSAl Viro 
9213dd266SEric W. Biederman extern struct mnt_namespace *copy_mnt_ns(unsigned long, struct mnt_namespace *,
10*771b1371SEric W. Biederman 		struct user_namespace *, struct fs_struct *);
11616511d0STrond Myklebust extern void put_mnt_ns(struct mnt_namespace *ns);
126b3286edSKirill Korotaev 
130226f492SAl Viro extern const struct file_operations proc_mounts_operations;
140226f492SAl Viro extern const struct file_operations proc_mountinfo_operations;
150226f492SAl Viro extern const struct file_operations proc_mountstats_operations;
16a1a2c409SMiklos Szeredi 
176b3286edSKirill Korotaev #endif
186b3286edSKirill Korotaev #endif
19