projects
/
platform
/
kernel
/
linux-exynos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
media: i2c: adv748x: Export I2C device table entries as module aliases
[platform/kernel/linux-exynos.git]
/
ipc
/
util.c
diff --git
a/ipc/util.c
b/ipc/util.c
index
2428dd4
..
1a2cb02
100644
(file)
--- a/
ipc/util.c
+++ b/
ipc/util.c
@@
-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();