]> err.no Git - linux-2.6/commit
[POWERPC] spufs: Free mm if spufs_fill_dir() failed
authorSebastian Siewior <bigeasy@linux.vnet.ibm.com>
Mon, 4 Jun 2007 13:26:51 +0000 (23:26 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 7 Jun 2007 01:44:39 +0000 (11:44 +1000)
commit89df00855beabfa700f9a9ed52f0983bdc4b021d
tree8c3769a44be771d0e66df601bd6db139f22b4b87
parent877907d37da9694a34adc9dc3e2ce09400148cb5
[POWERPC] spufs: Free mm if spufs_fill_dir() failed

In case spufs_fill_dir() fails only put_spu_context()
gets called for cleanup and the acquired mm_struct never gets freed.

Signed-off-by: Sebastian Siewior <bigeasy@linux.vnet.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/inode.c