diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2011-07-04 00:15:48 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2011-07-04 00:15:48 +0000 |
commit | 49833599acce6e59397a90e35e84795cd0832055 (patch) | |
tree | c068bf00b167a0d8d5c386d7c9b22bfce398cb93 /sys/uvm | |
parent | 83041e559f3063321d066902536d1e73bd778e23 (diff) |
Replace inadvertantly removed line.
now we can free vnodes again.
ok gcc@, jetpack@, beck@, art@.
(the results of this were hilarious)
Diffstat (limited to 'sys/uvm')
-rw-r--r-- | sys/uvm/uvm_vnode.c | 3 |
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; |