Messages in this thread Patch in this message | | | Date | Mon, 18 Jun 2012 09:12:52 -0400 | From | Christoph Hellwig <> | Subject | Re: [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:
| |