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:
1b4d40a
)
ocfs2: Fix refcnt leak on ocfs2_fast_follow_link() error path
author
OGAWA Hirofumi
<hirofumi@mail.parknet.co.jp>
Mon, 11 Jan 2010 18:37:45 +0000
(
03:37
+0900)
committer
Joel Becker
<joel.becker@oracle.com>
Mon, 11 Jan 2010 23:38:50 +0000
(15:38 -0800)
If ->follow_link handler returns an error, it should decrement
nd->path refcnt. But ocfs2_fast_follow_link() doesn't decrement.
This patch fixes the problem by using 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: Joel Becker <joel.becker@oracle.com>
No differences found