mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 10:01:39 -05:00
ns: use inode initializer for initial namespaces
Just use the common helper we have. Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
@@ -29,7 +29,7 @@ DEFINE_SPINLOCK(mq_lock);
|
||||
struct ipc_namespace init_ipc_ns = {
|
||||
.ns.__ns_ref = REFCOUNT_INIT(1),
|
||||
.user_ns = &init_user_ns,
|
||||
.ns.inum = PROC_IPC_INIT_INO,
|
||||
.ns.inum = ns_init_inum(&init_ipc_ns),
|
||||
#ifdef CONFIG_IPC_NS
|
||||
.ns.ops = &ipcns_operations,
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user