Re: [PATCH 00/21] vfs: atomic open v6 (part 2)

From: Christoph Hellwig
Date: Mon Jun 18 2012 - 09:12:50 EST


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:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/