blob: 5a8e3903d7707f32490ee607766ccf8d4882c8cf [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;
7
Eric W. Biederman213dd262007-07-15 23:41:15 -07008extern struct mnt_namespace *copy_mnt_ns(unsigned long, struct mnt_namespace *,
Kirill Korotaev6b3286e2006-12-08 02:37:56 -08009 struct fs_struct *);
Trond Myklebust616511d2009-06-22 15:09:13 -040010extern void put_mnt_ns(struct mnt_namespace *ns);
Kirill Korotaev6b3286e2006-12-08 02:37:56 -080011
Al Viro0226f492011-12-06 12:21:54 -050012extern const struct file_operations proc_mounts_operations;
13extern const struct file_operations proc_mountinfo_operations;
14extern const struct file_operations proc_mountstats_operations;
Miklos Szeredia1a2c402008-03-27 13:06:24 +010015
Kirill Korotaev6b3286e2006-12-08 02:37:56 -080016#endif
17#endif