summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-07-15 16:06:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-07-15 16:06:18 +0000
commitac487f07f75cc2b1e3624dfcf9c4707f605a4977 (patch)
treee987658275ae34690ca80db3dcca7787b9b7a12c /sys
parentfaa44b180d1d4b04b6053ff39386b9444bf03820 (diff)
cannot do this; flipk has found test cases where this fails
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vfs_vnops.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c
index 0d0e1406556..95ef459277a 100644
--- a/sys/kern/vfs_vnops.c
+++ b/sys/kern/vfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_vnops.c,v 1.3 1997/07/11 02:15:49 tholo Exp $ */
+/* $OpenBSD: vfs_vnops.c,v 1.4 1997/07/15 16:06:17 deraadt Exp $ */
/* $NetBSD: vfs_vnops.c,v 1.20 1996/02/04 02:18:41 christos Exp $ */
/*
@@ -77,10 +77,8 @@ vn_open(ndp, fmode, cmode)
if (fmode & O_CREAT) {
ndp->ni_cnd.cn_nameiop = CREATE;
ndp->ni_cnd.cn_flags = LOCKPARENT | LOCKLEAF;
-#if 0
if ((fmode & O_EXCL) == 0)
ndp->ni_cnd.cn_flags |= FOLLOW;
-#endif
if ((error = namei(ndp)) != 0)
return (error);
if (ndp->ni_vp == NULL) {