diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-05-01 08:34:45 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-05-01 08:34:45 +0000 |
commit | a62615e59b534bdff3e04431b7ee4202ba7bd94d (patch) | |
tree | ddfa5b3bf598c0626d7d642ac397d9ad37ca84c5 /sys/coda/coda_fbsd.c | |
parent | fb919e4d5a2c1baca52ac70d1064f140fffdda71 (diff) | |
download | src-a62615e59b534bdff3e04431b7ee4202ba7bd94d.tar.gz src-a62615e59b534bdff3e04431b7ee4202ba7bd94d.zip |
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.
Notes
Notes:
svn path=/head/; revision=76167
Diffstat (limited to 'sys/coda/coda_fbsd.c')
-rw-r--r-- | sys/coda/coda_fbsd.c | 16 |
1 files changed, 1 insertions, 15 deletions
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); -} |