]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blob - include/linux/mnt_namespace.h
UBUNTU: SAUCE: Import aufs driver
[mirror_ubuntu-hirsute-kernel.git] / include / linux / mnt_namespace.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _NAMESPACE_H_
3 #define _NAMESPACE_H_
4 #ifdef __KERNEL__
5
6 struct mnt_namespace;
7 struct fs_struct;
8 struct user_namespace;
9 struct ns_common;
10 struct vfsmount;
11
12 extern struct mnt_namespace *copy_mnt_ns(unsigned long, struct mnt_namespace *,
13 struct user_namespace *, struct fs_struct *);
14 extern void put_mnt_ns(struct mnt_namespace *ns);
15 extern struct ns_common *from_mnt_ns(struct mnt_namespace *);
16
17 extern int is_current_mnt_ns(struct vfsmount *mnt);
18
19 extern const struct file_operations proc_mounts_operations;
20 extern const struct file_operations proc_mountinfo_operations;
21 extern const struct file_operations proc_mountstats_operations;
22
23 #endif
24 #endif