Merge tag 'mm-hotfixes-stable-2023-05-03-16-27' of git://git.kernel.org/pub/scm/linux...
[linux-block.git] / include / linux / mnt_namespace.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
6b3286ed
KK
2#ifndef _NAMESPACE_H_
3#define _NAMESPACE_H_
4#ifdef __KERNEL__
5
0226f492 6struct mnt_namespace;
5ad4e53b 7struct fs_struct;
771b1371 8struct user_namespace;
f2a8d52e 9struct ns_common;
5ad4e53b 10
213dd266 11extern struct mnt_namespace *copy_mnt_ns(unsigned long, struct mnt_namespace *,
771b1371 12 struct user_namespace *, struct fs_struct *);
616511d0 13extern void put_mnt_ns(struct mnt_namespace *ns);
303cc571 14extern struct ns_common *from_mnt_ns(struct mnt_namespace *);
6b3286ed 15
0226f492
AV
16extern const struct file_operations proc_mounts_operations;
17extern const struct file_operations proc_mountinfo_operations;
18extern const struct file_operations proc_mountstats_operations;
a1a2c409 19
6b3286ed
KK
20#endif
21#endif