diff options
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vnode_pager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c index f0a62f2..0be23ef 100644 --- a/sys/vm/vnode_pager.c +++ b/sys/vm/vnode_pager.c @@ -307,10 +307,10 @@ vnode_pager_setsize(vp, nsize) */ if (nsize < object->un_pager.vnp.vnp_size) { if (nobjsize < object->size) { - vm_object_lock(object); + VM_OBJECT_LOCK(object); vm_object_page_remove(object, nobjsize, object->size, FALSE); - vm_object_unlock(object); + VM_OBJECT_UNLOCK(object); } /* * this gets rid of garbage at the end of a page that is now |