Skip to content

Commit cc47f43

Browse files
committed
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>
1 parent 5fc6bef commit cc47f43

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

include/uapi/linux/nsfs.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ enum init_ns_ino {
5353
TIME_NS_INIT_INO = 0xEFFFFFFAU,
5454
NET_NS_INIT_INO = 0xEFFFFFF9U,
5555
MNT_NS_INIT_INO = 0xEFFFFFF8U,
56+
#ifdef __KERNEL__
57+
MNT_NS_ANON_INO = 0xEFFFFFF7U,
58+
#endif
5659
};
5760

5861
struct nsfs_file_handle {

0 commit comments

Comments
 (0)