[PATCH] spufs: dont leak directories in failed spu_create
authorArnd Bergmann <arnd@arndb.de>
Wed, 4 Jan 2006 19:31:26 +0000 (20:31 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 04:44:41 +0000 (15:44 +1100)
If get_unused_fd failed in sys_spu_create, we never cleaned
up the created directory. Fix that by restructuring the
error path.

Noticed by Al Viro.

Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

No differences found