]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit1d4c918b9cca0e2413cff713dee54130b0aa84f4
tree6801e179da8f4cebf09d19446f9ce6fcaab54d8e
parentbaa9aaf328540005ecaf5d2348cb1666c1137b32
[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