diff options
author | 1997-07-15 16:06:17 +0000 | |
---|---|---|
committer | 1997-07-15 16:06:17 +0000 | |
commit | 75060fa72da7b835dab8263b03749f08951f72b5 (patch) | |
tree | 55bab62805acf9145065d1d7dcee1ca0345fc4d5 | |
parent | initxxx() routines return 1 on success, not zero. (diff) | |
download | wireguard-openbsd-75060fa72da7b835dab8263b03749f08951f72b5.tar.xz wireguard-openbsd-75060fa72da7b835dab8263b03749f08951f72b5.zip |
cannot do this; flipk has found test cases where this fails
-rw-r--r-- | sys/kern/vfs_vnops.c | 4 |
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) { |