diff options
author | Kou Ishizaki <kou.ishizaki@toshiba.co.jp> | 2008-10-09 10:45:49 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-12-05 10:55:23 -0800 |
commit | baec2700bad81e1b08c81240c382b46613ccb981 (patch) | |
tree | 67cfe34ee517aa393e66fd89974ffac105472ac8 /net/unix/af_unix.c | |
parent | 44f4142a449d476de768a9bc951b773af69e306c (diff) |
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 <kou.ishizaki@toshiba.co.jp>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Acked-by: Andre Detsch <adetsch@br.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions