From a62615e59b534bdff3e04431b7ee4202ba7bd94d Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Tue, 1 May 2001 08:34:45 +0000 Subject: Implement vop_std{get|put}pages() and add them to the default vop[]. Un-copy&paste all the VOP_{GET|PUT}PAGES() functions which do nothing but the default. --- sys/coda/coda_fbsd.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'sys/coda/coda_fbsd.c') diff --git a/sys/coda/coda_fbsd.c b/sys/coda/coda_fbsd.c index c92b48213b32..629ead45607a 100644 --- a/sys/coda/coda_fbsd.c +++ b/sys/coda/coda_fbsd.c @@ -114,10 +114,7 @@ coda_fbsd_getpages(v) int ret = 0; #if 1 - /* ??? a_offset */ - ret = vnode_pager_generic_getpages(ap->a_vp, ap->a_m, ap->a_count, - ap->a_reqpage); - return ret; + return vop_stdgetpages(ap); #else { struct vnode *vp = ap->a_vp; @@ -176,14 +173,3 @@ printf("error = %d\n", error); } #endif } - -int -coda_fbsd_putpages(v) - void *v; -{ - struct vop_putpages_args *ap = v; - - /*??? a_offset */ - return vnode_pager_generic_putpages(ap->a_vp, ap->a_m, ap->a_count, - ap->a_sync, ap->a_rtvals); -} -- cgit v1.2.3