[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)
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>

No differences found