From: Kou Ishizaki Date: Wed, 8 Oct 2008 23:45:49 +0000 (+1100) Subject: powerpc/spufs: add a missing mutex_unlock X-Git-Tag: v2.6.27.8~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=baec2700bad81e1b08c81240c382b46613ccb981;p=pandora-kernel.git powerpc/spufs: add a missing mutex_unlock commit 6747c2ee8abf749e63fee8cd01a9ee293e6a4247 upstream. 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 Signed-off-by: Jeremy Kerr Acked-by: Andre Detsch Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed