]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
6b3286ed KK |
2 | #ifndef _NAMESPACE_H_ |
3 | #define _NAMESPACE_H_ | |
4 | #ifdef __KERNEL__ | |
5 | ||
0226f492 | 6 | struct mnt_namespace; |
5ad4e53b | 7 | struct fs_struct; |
771b1371 | 8 | struct user_namespace; |
c088e31d | 9 | struct vfsmount; |
5ad4e53b | 10 | |
213dd266 | 11 | extern struct mnt_namespace *copy_mnt_ns(unsigned long, struct mnt_namespace *, |
771b1371 | 12 | struct user_namespace *, struct fs_struct *); |
616511d0 | 13 | extern void put_mnt_ns(struct mnt_namespace *ns); |
6b3286ed | 14 | |
c088e31d SF |
15 | extern int is_current_mnt_ns(struct vfsmount *mnt); |
16 | ||
0226f492 AV |
17 | extern const struct file_operations proc_mounts_operations; |
18 | extern const struct file_operations proc_mountinfo_operations; | |
19 | extern const struct file_operations proc_mountstats_operations; | |
a1a2c409 | 20 | |
6b3286ed KK |
21 | #endif |
22 | #endif |