diff options
author | 1997-10-06 20:19:26 +0000 | |
---|---|---|
committer | 1997-10-06 20:19:26 +0000 | |
commit | f6d35f956ac60c4dbcc91b018b2bcefd71ad933f (patch) | |
tree | 918af077b7c363fb7d19243c4ecb7f0165b3bc65 /sys/kern/kern_exec.c | |
parent | Build generic and genericsbc kernels into snapshot and distribute them (diff) | |
download | wireguard-openbsd-f6d35f956ac60c4dbcc91b018b2bcefd71ad933f.tar.xz wireguard-openbsd-f6d35f956ac60c4dbcc91b018b2bcefd71ad933f.zip |
back out vfs lite2 till after 2.2
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r-- | sys/kern/kern_exec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index b70c6bd3cd2..e05d7236b9d 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_exec.c,v 1.13 1997/10/06 15:12:16 csapuntz Exp $ */ +/* $OpenBSD: kern_exec.c,v 1.14 1997/10/06 20:19:51 deraadt Exp $ */ /* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */ /*- @@ -188,10 +188,10 @@ check_exec(p, epp) bad2: /* - * unlock and close the vnode, free the + * unlock and close the vnode, restore the old one, free the * pathname buf, and punt. */ - VOP_UNLOCK(vp, 0, p); + VOP_UNLOCK(vp); vn_close(vp, FREAD, p->p_ucred, p); FREE(ndp->ni_cnd.cn_pnbuf, M_NAMEI); return error; |