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/fs/ntfs | |
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/fs/ntfs')
-rw-r--r-- | sys/fs/ntfs/ntfs_vnops.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/sys/fs/ntfs/ntfs_vnops.c b/sys/fs/ntfs/ntfs_vnops.c index 26d55bb..072a512 100644 --- a/sys/fs/ntfs/ntfs_vnops.c +++ b/sys/fs/ntfs/ntfs_vnops.c @@ -93,8 +93,6 @@ static int ntfs_readdir __P((struct vop_readdir_args *ap)); static int ntfs_lookup __P((struct vop_lookup_args *ap)); static int ntfs_bmap __P((struct vop_bmap_args *ap)); #if defined(__FreeBSD__) -static int ntfs_getpages __P((struct vop_getpages_args *ap)); -static int ntfs_putpages __P((struct vop_putpages_args *)); static int ntfs_fsync __P((struct vop_fsync_args *ap)); #else static int ntfs_bypass __P((struct vop_generic_args *ap)); @@ -103,24 +101,6 @@ static int ntfs_pathconf __P((void *)); int ntfs_prtactive = 1; /* 1 => print out reclaim of active vnodes */ -#if defined(__FreeBSD__) -int -ntfs_getpages(ap) - struct vop_getpages_args *ap; -{ - return vnode_pager_generic_getpages(ap->a_vp, ap->a_m, ap->a_count, - ap->a_reqpage); -} - -int -ntfs_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); -} -#endif - #if defined(__NetBSD__) /* * This is a noop, simply returning what one has been given. @@ -869,8 +849,6 @@ struct vnodeopv_entry_desc ntfs_vnodeop_entries[] = { { &vop_readdir_desc, (vop_t *)ntfs_readdir }, { &vop_fsync_desc, (vop_t *)ntfs_fsync }, - { &vop_getpages_desc, (vop_t *) ntfs_getpages }, - { &vop_putpages_desc, (vop_t *) ntfs_putpages }, { &vop_strategy_desc, (vop_t *)ntfs_strategy }, { &vop_read_desc, (vop_t *)ntfs_read }, { &vop_write_desc, (vop_t *)ntfs_write }, |