diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vm/vm_object.c | 1 | ||||
-rw-r--r-- | sys/vm/vnode_pager.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index 4aed5e7..80ace35 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -612,7 +612,6 @@ vm_object_destroy(vm_object_t object) * Free the space for the object. */ uma_zfree(obj_zone, object); - } diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c index 61f4fd9..cc13565 100644 --- a/sys/vm/vnode_pager.c +++ b/sys/vm/vnode_pager.c @@ -205,7 +205,7 @@ vnode_pager_alloc(void *handle, vm_ooffset_t size, vm_prot_t prot, retry: while ((object = vp->v_object) != NULL) { VM_OBJECT_LOCK(object); - if ((object->flags & OBJ_DEAD) == 0) + if ((object->flags & OBJ_DEAD) == 0) break; vm_object_set_flag(object, OBJ_DISCONNECTWNT); msleep(object, VM_OBJECT_MTX(object), PDROP | PVM, "vadead", 0); |