[PATCH] spufs: dont hold root->isem in spu_forget
authorArnd Bergmann <arnd@arndb.de>
Wed, 4 Jan 2006 19:31:22 +0000 (20:31 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 04:44:37 +0000 (15:44 +1100)
commitc8ca0633e5f2bceab7b4eba4475820fd7674dece
tree6801e179da8f4cebf09d19446f9ce6fcaab54d8e
parent762cf6dac2623473e83bb271f2bbe97d2355c64d
[PATCH] spufs: dont hold root->isem in spu_forget

spu_forget will do mmput on the DMA address space,
which can lead to lots of other stuff getting triggered.
We better not hold a semaphore here that we might
need in the process.

Noticed by Al Viro.

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