Kirill Korotaev | 6b3286e | 2006-12-08 02:37:56 -0800 | [diff] [blame] | 1 | #ifndef _NAMESPACE_H_ |
| 2 | #define _NAMESPACE_H_ |
| 3 | #ifdef __KERNEL__ |
| 4 | |
Al Viro | 0226f49 | 2011-12-06 12:21:54 -0500 | [diff] [blame] | 5 | struct mnt_namespace; |
Al Viro | 5ad4e53 | 2009-03-29 19:50:06 -0400 | [diff] [blame] | 6 | struct fs_struct; |
Eric W. Biederman | 771b137 | 2012-07-26 21:08:32 -0700 | [diff] [blame] | 7 | struct user_namespace; |
Al Viro | 5ad4e53 | 2009-03-29 19:50:06 -0400 | [diff] [blame] | 8 | |
Eric W. Biederman | 213dd26 | 2007-07-15 23:41:15 -0700 | [diff] [blame] | 9 | extern struct mnt_namespace *copy_mnt_ns(unsigned long, struct mnt_namespace *, |
Eric W. Biederman | 771b137 | 2012-07-26 21:08:32 -0700 | [diff] [blame] | 10 | struct user_namespace *, struct fs_struct *); |
Trond Myklebust | 616511d | 2009-06-22 15:09:13 -0400 | [diff] [blame] | 11 | extern void put_mnt_ns(struct mnt_namespace *ns); |
Kirill Korotaev | 6b3286e | 2006-12-08 02:37:56 -0800 | [diff] [blame] | 12 | |
Al Viro | 0226f49 | 2011-12-06 12:21:54 -0500 | [diff] [blame] | 13 | extern const struct file_operations proc_mounts_operations; |
| 14 | extern const struct file_operations proc_mountinfo_operations; |
| 15 | extern const struct file_operations proc_mountstats_operations; |
Miklos Szeredi | a1a2c40 | 2008-03-27 13:06:24 +0100 | [diff] [blame] | 16 | |
Kirill Korotaev | 6b3286e | 2006-12-08 02:37:56 -0800 | [diff] [blame] | 17 | #endif |
| 18 | #endif |