mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:24:47 +01: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:
parent
d093090ea7
commit
7cf7303211
7 changed files with 7 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue