1 /* SPDX-License-Identifier: GPL-2.0 */
6 #include <linux/cleanup.h>
11 struct user_namespace
;
14 extern struct mnt_namespace
*copy_mnt_ns(unsigned long, struct mnt_namespace
*,
15 struct user_namespace
*, struct fs_struct
*);
16 extern void put_mnt_ns(struct mnt_namespace
*ns
);
17 DEFINE_FREE(put_mnt_ns
, struct mnt_namespace
*, if (!IS_ERR_OR_NULL(_T
)) put_mnt_ns(_T
))
18 extern struct ns_common
*from_mnt_ns(struct mnt_namespace
*);
20 extern const struct file_operations proc_mounts_operations
;
21 extern const struct file_operations proc_mountinfo_operations
;
22 extern const struct file_operations proc_mountstats_operations
;