diff options
author | phk <phk@FreeBSD.org> | 2001-05-01 08:34:45 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-05-01 08:34:45 +0000 |
commit | 5948c9ed5b3c16fe0bc873bffb152989a3abf100 (patch) | |
tree | 01c953fe3c0f1e5488cf57f057284ac4c071f8d1 /sys/msdosfs | |
parent | bcca5847d5e7a197302d7689cd358f5ce6316d0a (diff) | |
download | FreeBSD-src-5948c9ed5b3c16fe0bc873bffb152989a3abf100.zip FreeBSD-src-5948c9ed5b3c16fe0bc873bffb152989a3abf100.tar.gz |
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.
Diffstat (limited to 'sys/msdosfs')
-rw-r--r-- | sys/msdosfs/msdosfs_vnops.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/sys/msdosfs/msdosfs_vnops.c b/sys/msdosfs/msdosfs_vnops.c index 8ed27a0..b942d30 100644 --- a/sys/msdosfs/msdosfs_vnops.c +++ b/sys/msdosfs/msdosfs_vnops.c @@ -101,8 +101,6 @@ static int msdosfs_bmap __P((struct vop_bmap_args *)); static int msdosfs_strategy __P((struct vop_strategy_args *)); static int msdosfs_print __P((struct vop_print_args *)); static int msdosfs_pathconf __P((struct vop_pathconf_args *ap)); -static int msdosfs_getpages __P((struct vop_getpages_args *)); -static int msdosfs_putpages __P((struct vop_putpages_args *)); /* * Some general notes: @@ -1867,33 +1865,6 @@ msdosfs_pathconf(ap) /* NOTREACHED */ } -/* - * get page routine - * - * XXX By default, wimp out... note that a_offset is ignored (and always - * XXX has been). - */ -int -msdosfs_getpages(ap) - struct vop_getpages_args *ap; -{ - return vnode_pager_generic_getpages(ap->a_vp, ap->a_m, ap->a_count, - ap->a_reqpage); -} - -/* - * put page routine - * - * XXX By default, wimp out... note that a_offset is ignored (and always - * XXX has been). - */ -int -msdosfs_putpages(ap) - struct vop_putpages_args *ap; -{ - return vnode_pager_generic_putpages(ap->a_vp, ap->a_m, ap->a_count, - ap->a_sync, ap->a_rtvals); -} /* Global vfs data structures for msdosfs */ vop_t **msdosfs_vnodeop_p; @@ -1926,8 +1897,6 @@ static struct vnodeopv_entry_desc msdosfs_vnodeop_entries[] = { { &vop_symlink_desc, (vop_t *) msdosfs_symlink }, { &vop_unlock_desc, (vop_t *) vop_stdunlock }, { &vop_write_desc, (vop_t *) msdosfs_write }, - { &vop_getpages_desc, (vop_t *) msdosfs_getpages }, - { &vop_putpages_desc, (vop_t *) msdosfs_putpages }, { NULL, NULL } }; static struct vnodeopv_desc msdosfs_vnodeop_opv_desc = |