[Cbe-oss-dev] [PATCH] powerpc/spufs: add a missing mutex_unlock

André Detsch adetsch at br.ibm.com
Wed Oct 1 22:41:53 EST 2008


Kou Ishizaki wrote:
> A mutex_unlock(&gang->aff_mutex) in spufs_create_context() is missing
> in case spufs_context_open() fails.  As a result, spu_create syscall
> and spu_get_idle() may block.
> 
> This patch adds the mutex_unlock.
> 
> Signed-off-by: Kou Ishizaki <kou.ishizaki at toshiba.co.jp>

Acked-by: Andre Detsch <adetsch at br.ibm.com>

-- 
André Detsch
Kernel Software Engineer - Linux on Cell
Linux Technology Center Brazil



More information about the cbe-oss-dev mailing list