diff options
author | 2001-11-27 05:27:11 +0000 | |
---|---|---|
committer | 2001-11-27 05:27:11 +0000 | |
commit | 5af79db257c43883165df4d19734148ccfcdd5e8 (patch) | |
tree | 1d787f45797cd1ab6c09e667f6b1a5a28e8351e5 /sys/kern/exec_subr.c | |
parent | Move the declaration of EH_DEBUG and ERRATA__XXX_USR to the kernel (diff) | |
download | wireguard-openbsd-5af79db257c43883165df4d19734148ccfcdd5e8.tar.xz wireguard-openbsd-5af79db257c43883165df4d19734148ccfcdd5e8.zip |
Merge in the unified buffer cache code as found in NetBSD 2001/03/10. The
code is written mostly by Chuck Silvers <chuq@chuq.com>/<chs@netbsd.org>.
Tested for the past few weeks by many developers, should be in a pretty stable
state, but will require optimizations and additional cleanups.
Diffstat (limited to 'sys/kern/exec_subr.c')
-rw-r--r-- | sys/kern/exec_subr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/exec_subr.c b/sys/kern/exec_subr.c index 770a29f8adc..e79db64dcae 100644 --- a/sys/kern/exec_subr.c +++ b/sys/kern/exec_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_subr.c,v 1.14 2001/11/07 01:18:01 art Exp $ */ +/* $OpenBSD: exec_subr.c,v 1.15 2001/11/27 05:27:11 art Exp $ */ /* $NetBSD: exec_subr.c,v 1.9 1994/12/04 03:10:42 mycroft Exp $ */ /* @@ -167,6 +167,7 @@ vmcmd_map_pagedvn(p, cmd) uobj = uvn_attach((void *) cmd->ev_vp, VM_PROT_READ|VM_PROT_EXECUTE); if (uobj == NULL) return(ENOMEM); + VREF(cmd->ev_vp); /* * do the map |