diff options
Diffstat (limited to 'ipc/msg.c')
-rw-r--r-- | ipc/msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -216,7 +216,7 @@ static int newque(struct ipc_namespace *ns, struct ipc_params *params) | |||
216 | INIT_LIST_HEAD(&msq->q_receivers); | 216 | INIT_LIST_HEAD(&msq->q_receivers); |
217 | INIT_LIST_HEAD(&msq->q_senders); | 217 | INIT_LIST_HEAD(&msq->q_senders); |
218 | 218 | ||
219 | spin_unlock(&msq->q_perm.lock); | 219 | ipc_unlock_object(&msq->q_perm); |
220 | rcu_read_unlock(); | 220 | rcu_read_unlock(); |
221 | 221 | ||
222 | return msq->q_perm.id; | 222 | return msq->q_perm.id; |