[PATCH] spufs: fix module refcount race
authorArnd Bergmann <arnd@arndb.de>
Fri, 9 Dec 2005 18:04:15 +0000 (19:04 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 03:53:11 +0000 (14:53 +1100)
commit59d6d39f30f4460b7e6489831caf7fbfe371941a
tree10a8ba60af902f5236bc72f75c6e0f5f161d8a14
parenta819f8ba76e81669fcc2665ac532cac650694b99
[PATCH] spufs: fix module refcount race

One of the two users of spufs_calls.owner still has a race
when calling try_module_get while the module is removed.
This makes it use the correct instance of owner.

Noticed by Milton Miller.

Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spu_syscalls.c