diff options
Diffstat (limited to 'ipc/util.c')
-rw-r--r-- | ipc/util.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -232,6 +232,7 @@ int ipc_addid(struct ipc_ids *ids, struct kern_ipc_perm *new, int size) idr_preload(GFP_KERNEL); + atomic_set(&new->refcount, 1); spin_lock_init(&new->lock); new->deleted = false; rcu_read_lock(); |