projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9850c05
)
Fix configfs leak
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 14 Jan 2010 03:10:57 +0000
(22:10 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 14 Jan 2010 14:05:42 +0000
(09:05 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/configfs/symlink.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/configfs/symlink.c
b/fs/configfs/symlink.c
index c8afa6b1d91d67e73266c2e3287c63f23c9d1be9..32a5f46b11578d2f0b319379cc8f2b940508a2f4 100644
(file)
--- a/
fs/configfs/symlink.c
+++ b/
fs/configfs/symlink.c
@@
-121,8
+121,10
@@
static int get_target(const char *symname, struct path *path,
ret = -ENOENT;
path_put(path);
}
- } else
+ } else
{
ret = -EPERM;
+ path_put(path);
+ }
}
return ret;