powerpc/spufs: Fix double unlocks
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 7 Mar 2012 11:01:35 +0000 (11:01 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 21 Mar 2012 00:16:10 +0000 (11:16 +1100)
commitfb700d3653acbec8fd1f81496ce4da029e12d557
treea1faed46815de2f139c166293db61fd495e34dd4
parent4286f84ef6d7f44de1e70b904706bdc3e1f7af01
powerpc/spufs: Fix double unlocks

spufs return path has a bug where it could end up trying to
unlock an inode mutex twice. Fix it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/cell/spufs/inode.c
arch/powerpc/platforms/cell/spufs/syscalls.c