blob: 12b2ab51032317357c9ca49221f0af864668af0d [file] [log] [blame]
Kirill Korotaev6b3286e2006-12-08 02:37:56 -08001#ifndef _NAMESPACE_H_
2#define _NAMESPACE_H_
3#ifdef __KERNEL__
4
Al Viro0226f492011-12-06 12:21:54 -05005struct mnt_namespace;
Al Viro5ad4e532009-03-29 19:50:06 -04006struct fs_struct;
Eric W. Biederman771b1372012-07-26 21:08:32 -07007struct user_namespace;
Al Viro5ad4e532009-03-29 19:50:06 -04008
Eric W. Biederman213dd262007-07-15 23:41:15 -07009extern struct mnt_namespace *copy_mnt_ns(unsigned long, struct mnt_namespace *,
Eric W. Biederman771b1372012-07-26 21:08:32 -070010 struct user_namespace *, struct fs_struct *);
Trond Myklebust616511d2009-06-22 15:09:13 -040011extern void put_mnt_ns(struct mnt_namespace *ns);
Kirill Korotaev6b3286e2006-12-08 02:37:56 -080012
Al Viro0226f492011-12-06 12:21:54 -050013extern const struct file_operations proc_mounts_operations;
14extern const struct file_operations proc_mountinfo_operations;
15extern const struct file_operations proc_mountstats_operations;
Miklos Szeredia1a2c402008-03-27 13:06:24 +010016
Kirill Korotaev6b3286e2006-12-08 02:37:56 -080017#endif
18#endif