]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] spufs: fix spufs_fill_dir error path
authorArnd Bergmann <arnd@arndb.de>
Wed, 4 Jan 2006 19:31:27 +0000 (20:31 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 04:44:42 +0000 (15:44 +1100)
commit3f51dd91c80746a5cf76f8c4a77bfc88aa82bb9e
treef92d9867e51a10b73a3f48fa3d65413f186ac733
parent346f4d3ce948a381a559dcaefb141d79f492335c
[PATCH] spufs: fix spufs_fill_dir error path

If creating one entry failed in spufs_fill_dir,
we never cleaned up the freshly created entries.
Fix this by calling the cleanup function on error.

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