X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=ipc%2Fmsgutil.c;h=84598025a6ade1faaf412d3ae67e5c2bda32e294;hb=a59e57da49f7c3f3de8cf4b7568a0c6c82f5b242;hp=bf74eaa5c39f208ea5f1ee41db38e57349512e7d;hpb=a1f817dc8ed79cdff2b76bc51d545fb9465982be;p=mirror_ubuntu-bionic-kernel.git diff --git a/ipc/msgutil.c b/ipc/msgutil.c index bf74eaa5c39f..84598025a6ad 100644 --- a/ipc/msgutil.c +++ b/ipc/msgutil.c @@ -29,7 +29,7 @@ DEFINE_SPINLOCK(mq_lock); * and not CONFIG_IPC_NS. */ struct ipc_namespace init_ipc_ns = { - .count = ATOMIC_INIT(1), + .count = REFCOUNT_INIT(1), .user_ns = &init_user_ns, .ns.inum = PROC_IPC_INIT_INO, #ifdef CONFIG_IPC_NS