]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit4fe2c38ed785118dbb77a53accc20ead017eada6
tree10a8ba60af902f5236bc72f75c6e0f5f161d8a14
parenta988bb421340270430519fabed504248e248262f
[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