[lkml]   [2010]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] ocfs2: Fix refcnt leak on ocfs2_fast_follow_link() error path
On Tue, Jan 12, 2010 at 03:37:45AM +0900, OGAWA Hirofumi wrote:
> If ->follow_link handler return the error, it should decrement
> nd->path refcnt. But, ocfs2_fast_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 <>

This patch is now in the fixes branch of ocfs2.git.



"Against stupidity the Gods themselves contend in vain."
- Friedrich von Schiller

Joel Becker
Principal Software Developer
Phone: (650) 506-8127

 \ /
  Last update: 2010-01-12 01:43    [W:0.021 / U:1.288 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site