diff options
author | Arnd Bergmann <arnd@arndb.de> | 2006-01-04 20:31:26 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-09 15:44:41 +1100 |
commit | 346f4d3ce948a381a559dcaefb141d79f492335c (patch) | |
tree | 47028cc77555850a235574b01e9a2eb398361074 /mm | |
parent | 0106246594a05f02a6be6ee4695c7584c758fa7f (diff) |
[PATCH] spufs: dont leak directories in failed spu_create
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions