]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
fix for sem_lock
authorRik van Riel <riel@surriel.com>
Fri, 22 Mar 2013 23:42:48 +0000 (19:42 -0400)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 26 Mar 2013 05:33:45 +0000 (16:33 +1100)
commit5ae9d45556395e9b02dee9cba213e6e46fe5f9a9
tree4817169b91755eb75f79b5f9da4ef4a127217a0d
parentc5fbe13910eacad01c2fdc5bb9cb3b1a7b585439
fix for sem_lock

Fix a typo in sem_lock.  Of course we need to unlock the local
semaphore lock before jumping to lock_all, in the rare case that
somebody started a complex operation while we were spinning on
the spinlock.

Can be folded into patch 7/7 before merging

Signed-off-by: Rik van Riel <riel@redhat.com>
Reported-by: Michel Lespinasse <walken@google.com>
ipc/sem.c