diff --git a/sys/vm/vm_pager.c b/sys/vm/vm_pager.c index 6749f8c5f6fc..6cb678a9d471 100644 --- a/sys/vm/vm_pager.c +++ b/sys/vm/vm_pager.c @@ -275,7 +275,7 @@ void vm_pager_strategy(vm_object_t object, struct bio *bp) { if (pagertab[object->type]->pgo_strategy) { - (*pagertab[object->type]->pgo_strategy)(object, bp); + (*pagertab[object->type]->pgo_strategy)(object, bp); } else { bp->bio_flags |= BIO_ERROR; bp->bio_error = ENXIO; diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c index 08d7daa821b5..7edaebcd9e86 100644 --- a/sys/vm/vnode_pager.c +++ b/sys/vm/vnode_pager.c @@ -213,7 +213,7 @@ vnode_pager_haspage(object, pindex, before, after) * not have the page. */ if ((vp->v_mount == NULL) || - (IDX_TO_OFF(pindex) >= object->un_pager.vnp.vnp_size)) + (IDX_TO_OFF(pindex) >= object->un_pager.vnp.vnp_size)) return FALSE; bsize = vp->v_mount->mnt_stat.f_iosize;