From: Arnd Bergmann Date: Wed, 4 Jan 2006 19:31:26 +0000 (+0100) Subject: [PATCH] spufs: dont leak directories in failed spu_create X-Git-Tag: v2.6.16-rc1~666^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=346f4d3ce948a381a559dcaefb141d79f492335c;p=pandora-kernel.git [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 Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed