Thread (27 messages) flat view 27 messages, 3 authors, 2025-09-23

Re: [PATCH 5/9] nsfs: add inode number for anon namespace

From: Jan Kara <jack@suse.cz>
Date: 2025-09-17 16:31:59
Also in: cgroups, linux-fsdevel, lkml

On Wed 17-09-25 12:28:04, Christian Brauner wrote:
Add an inode number anonymous namespaces.
                     ^ missing 'for'
 
Signed-off-by: Christian Brauner <brauner@kernel.org>
Otherwise looks good. Feel free to add:

Reviewed-by: Jan Kara <jack@suse.cz>

								Honza
quoted hunk ↗ jump to hunk
---
 include/uapi/linux/nsfs.h | 3 +++
 1 file changed, 3 insertions(+)
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 {
-- 
2.47.3
-- 
Jan Kara [off-list ref]
SUSE Labs, CR
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help