From: Andrew Morton Date: Wed, 12 Dec 2007 19:24:19 +0000 (-0800) Subject: [TIPC]: Fix semaphore handling. X-Git-Tag: v2.6.24-rc6~67^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98eb5683fb94c458b3c8d121797bc9aa1baf4e7e;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed