aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm_obj.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/vm_obj.c')
-rw-r--r--sys/vm/vm_obj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_obj.c b/sys/vm/vm_obj.c
index 8f34ff3..6dbe777 100644
--- a/sys/vm/vm_obj.c
+++ b/sys/vm/vm_obj.c
@@ -61,7 +61,7 @@ vm_obj_init(struct vm_object **res, struct vnode *vnode)
memset(obj, 0, sizeof(struct vm_object));
obj->vnode = vnode;
- obj->ref = 1;
+ obj->ref = 0;
vm_set_pgops(obj, vnode);
*res = obj;