diff options
Diffstat (limited to 'sys/vm/vm_object.c')
-rw-r--r-- | sys/vm/vm_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index 486b7c6..7aa399a 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -1797,10 +1797,10 @@ vm_object_coalesce(vm_object_t prev_object, vm_pindex_t prev_pindex, vm_object_page_remove(prev_object, next_pindex, next_pindex + next_size, FALSE); - VM_OBJECT_UNLOCK(prev_object); if (prev_object->type == OBJT_SWAP) swap_pager_freespace(prev_object, next_pindex, next_size); + VM_OBJECT_UNLOCK(prev_object); } /* |