1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 26b3286edSKirill Korotaev #ifndef _NAMESPACE_H_ 36b3286edSKirill Korotaev #define _NAMESPACE_H_ 46b3286edSKirill Korotaev #ifdef __KERNEL__ 56b3286edSKirill Korotaev 60226f492SAl Viro struct mnt_namespace; 75ad4e53bSAl Viro struct fs_struct; 8771b1371SEric W. Biederman struct user_namespace; 9f2a8d52eSChristian Brauner struct ns_common; 105ad4e53bSAl Viro 11213dd266SEric W. Biederman extern struct mnt_namespace *copy_mnt_ns(unsigned long, struct mnt_namespace *, 12771b1371SEric W. Biederman struct user_namespace *, struct fs_struct *); 13616511d0STrond Myklebust extern void put_mnt_ns(struct mnt_namespace *ns); 14*303cc571SChristian Brauner extern struct ns_common *from_mnt_ns(struct mnt_namespace *); 156b3286edSKirill Korotaev 160226f492SAl Viro extern const struct file_operations proc_mounts_operations; 170226f492SAl Viro extern const struct file_operations proc_mountinfo_operations; 180226f492SAl Viro extern const struct file_operations proc_mountstats_operations; 19a1a2c409SMiklos Szeredi 206b3286edSKirill Korotaev #endif 216b3286edSKirill Korotaev #endif 22