diff --git a/sys/kern/vnode_if.src b/sys/kern/vnode_if.src index 9007236650eb..c3c8ed36adb2 100644 --- a/sys/kern/vnode_if.src +++ b/sys/kern/vnode_if.src @@ -483,7 +483,6 @@ vop_getpages_async { IN vm_page_t *m; IN int count; IN int reqpage; - IN vm_ooffset_t offset; IN vop_getpages_iodone_t *iodone; IN void *arg; }; diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c index c12b83d63020..2878dc3b0b9b 100644 --- a/sys/vm/vnode_pager.c +++ b/sys/vm/vnode_pager.c @@ -686,7 +686,7 @@ vnode_pager_getpages_async(vm_object_t object, vm_page_t *m, int count, vp = object->handle; VM_OBJECT_WUNLOCK(object); - rtval = VOP_GETPAGES_ASYNC(vp, m, count * PAGE_SIZE, reqpage, 0, + rtval = VOP_GETPAGES_ASYNC(vp, m, count * PAGE_SIZE, reqpage, iodone, arg); KASSERT(rtval != EOPNOTSUPP, ("vnode_pager: FS getpages_async not implemented\n"));