summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2025-09-17 13:28:04 +0300
committerChristian Brauner <brauner@kernel.org>2025-09-19 15:26:18 +0300
commitcc47f434271ba90c18c16e0bba360df38a8bc954 (patch)
tree585ec1f6deae5e3d2afb7698aed6c82e7e987322 /include
parent5fc6bef178f1b644f1439e520c8f83bfc83a1252 (diff)
downloadlinux-cc47f434271ba90c18c16e0bba360df38a8bc954.tar.xz
nsfs: add inode number for anon namespace
Add an inode number anonymous namespaces. Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/nsfs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/nsfs.h b/include/uapi/linux/nsfs.h
index 5d5bf22464c9..e098759ec917 100644
--- a/include/uapi/linux/nsfs.h
+++ b/include/uapi/linux/nsfs.h
@@ -53,6 +53,9 @@ enum init_ns_ino {
TIME_NS_INIT_INO = 0xEFFFFFFAU,
NET_NS_INIT_INO = 0xEFFFFFF9U,
MNT_NS_INIT_INO = 0xEFFFFFF8U,
+#ifdef __KERNEL__
+ MNT_NS_ANON_INO = 0xEFFFFFF7U,
+#endif
};
struct nsfs_file_handle {