lkml.org 
[lkml]   [2012]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH 00/21] vfs: atomic open v6 (part 2)
And here is fix number two, to be folded into the same commit:


Index: linux-2.6/fs/namei.c
===================================================================
--- linux-2.6.orig/fs/namei.c 2012-06-18 15:01:47.540350941 +0200
+++ linux-2.6/fs/namei.c 2012-06-18 15:01:48.160350957 +0200
@@ -640,7 +640,8 @@ follow_link(struct path *link, struct na
}
}
if (unlikely(error))
- put_link(nd, link, p);
+ put_link(nd, link, *p);
+
return error;

out_put_nd_path:

\
 
 \ /
  Last update: 2012-06-18 16:02    [W:0.065 / U:2.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site