commit | 9b6e31021122babe3b3a67b102479f740928b5eb | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Wed Jan 13 22:10:57 2010 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Jan 14 09:05:42 2010 -0500 |
tree | aca5a8aa7af09e4aa4c30de4e4479164a44de273 | |
parent | 9850c056559f3633a32d810aaf00ced39437b364 [diff] [blame] |
Fix configfs leak Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/configfs/symlink.c b/fs/configfs/symlink.c index c8afa6b..32a5f46 100644 --- a/fs/configfs/symlink.c +++ b/fs/configfs/symlink.c
@@ -121,8 +121,10 @@ ret = -ENOENT; path_put(path); } - } else + } else { ret = -EPERM; + path_put(path); + } } return ret;