diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-12-10 04:45:33 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-12-10 04:45:33 +0000 |
commit | 1eef7286fcf85dd357190316b332838378170946 (patch) | |
tree | 5d07152a5670a8b50e09c86d0ca76970e76c6fc0 /sys/nfs | |
parent | c7c6e636a8bfbf2c68e2ed3e6d20fa1c5237bfb0 (diff) |
Big cleanup inspired by NetBSD with some parts of the code from NetBSD.
- get rid of VOP_BALLOCN and VOP_SIZE
- move the generic getpages and putpages into miscfs/genfs
- create a genfs_node which must be added to the top of the private portion
of each vnode for filsystems that want to use genfs_{get,put}pages
- rename genfs_mmap to vop_generic_mmap
Diffstat (limited to 'sys/nfs')
-rw-r--r-- | sys/nfs/nfs_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_vnops.c b/sys/nfs/nfs_vnops.c index 34831240777..ee9fc5bc4be 100644 --- a/sys/nfs/nfs_vnops.c +++ b/sys/nfs/nfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_vnops.c,v 1.42 2001/12/10 02:19:34 art Exp $ */ +/* $OpenBSD: nfs_vnops.c,v 1.43 2001/12/10 04:45:31 art Exp $ */ /* $NetBSD: nfs_vnops.c,v 1.62.4.1 1996/07/08 20:26:52 jtc Exp $ */ /* @@ -128,7 +128,7 @@ struct vnodeopv_entry_desc nfsv2_vnodeop_entries[] = { { &vop_bwrite_desc, nfs_bwrite }, { &vop_getpages_desc, nfs_getpages }, /* getpages */ { &vop_putpages_desc, nfs_putpages }, /* putpages */ - { &vop_mmap_desc, genfs_mmap }, + { &vop_mmap_desc, vop_generic_mmap }, { NULL, NULL } }; struct vnodeopv_desc nfsv2_vnodeop_opv_desc = |