commit | 98eb5683fb94c458b3c8d121797bc9aa1baf4e7e | [log] [tgz] |
---|---|---|
author | Andrew Morton <akpm@linux-foundation.org> | Wed Dec 12 11:24:19 2007 -0800 |
committer | David S. Miller <davem@sunset.davemloft.net> | Fri Dec 14 13:54:37 2007 -0800 |
tree | d572e7ef5654905072dd3a0e6017ec67785a4486 | |
parent | cbebc51f7b77d26ec23145d6ef22ac2b209f7955 [diff] |
[TIPC]: Fix semaphore handling. As noted by Kevin, tipc's release() does down_interruptible() and ignores the return value. So if signal_pending() we'll end up doing up() on a non-downed semaphore. Fix. Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>