git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d12552
)
ecryptfs: Fix refcnt leak on ecryptfs_follow_link() error path
author
OGAWA Hirofumi
<hirofumi@mail.parknet.co.jp>
Mon, 11 Jan 2010 18:36:14 +0000
(
03:36
+0900)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 14 Jan 2010 14:05:26 +0000
(09:05 -0500)
If ->follow_link handler return the error, it should decrement
nd->path refcnt. But, ecryptfs_follow_link() doesn't decrement.
This patch fix it by using usual nd_set_link() style error handling,
instead of playing with nd->path.
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
No differences found