summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2011-07-04 00:15:48 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2011-07-04 00:15:48 +0000
commit49833599acce6e59397a90e35e84795cd0832055 (patch)
treec068bf00b167a0d8d5c386d7c9b22bfce398cb93
parent83041e559f3063321d066902536d1e73bd778e23 (diff)
Replace inadvertantly removed line.
now we can free vnodes again. ok gcc@, jetpack@, beck@, art@. (the results of this were hilarious)
-rw-r--r--sys/uvm/uvm_vnode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/uvm/uvm_vnode.c b/sys/uvm/uvm_vnode.c
index 026ba38dfbf..33ed7358934 100644
--- a/sys/uvm/uvm_vnode.c
+++ b/sys/uvm/uvm_vnode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_vnode.c,v 1.74 2011/07/03 18:34:14 oga Exp $ */
+/* $OpenBSD: uvm_vnode.c,v 1.75 2011/07/04 00:15:47 oga Exp $ */
/* $NetBSD: uvm_vnode.c,v 1.36 2000/11/24 20:34:01 chs Exp $ */
/*
@@ -335,6 +335,7 @@ uvn_detach(struct uvm_object *uobj)
simple_lock(&uobj->vmobjlock);
+ uobj->uo_refs--; /* drop ref! */
if (uobj->uo_refs) { /* still more refs */
simple_unlock(&uobj->vmobjlock);
return;