diff options
author | Davidlohr Bueso <davidlohr.bueso@hp.com> | 2013-07-08 19:01:11 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-18 10:45:46 -0400 |
commit | 115d40dbef93b70e6f32732b0fdd5903c1f7fce4 (patch) | |
tree | 0f92f4a69fcfc49768a6600272b180935f936d63 /ipc/msg.c | |
parent | 9f7b399c9dbc71bd09d5b45242a6fb8fbf2650a3 (diff) |
ipc: close open coded spin lock calls
commit cf9d5d78d05bca96df7618dfc3a5ee4414dcae58 upstream.
Signed-off-by: Davidlohr Bueso <davidlohr.bueso@hp.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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; |