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/kern/vnode_if.src | |
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/kern/vnode_if.src')
-rw-r--r-- | sys/kern/vnode_if.src | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/sys/kern/vnode_if.src b/sys/kern/vnode_if.src index fc1a45351cd..0efb5afdd4f 100644 --- a/sys/kern/vnode_if.src +++ b/sys/kern/vnode_if.src @@ -1,4 +1,4 @@ -# $OpenBSD: vnode_if.src,v 1.16 2001/12/04 22:44:31 art Exp $ +# $OpenBSD: vnode_if.src,v 1.17 2001/12/10 04:45:31 art Exp $ # $NetBSD: vnode_if.src,v 1.10 1996/05/11 18:26:27 mycroft Exp $ # # Copyright (c) 1992, 1993 @@ -469,17 +469,6 @@ vop_whiteout { #}; # -#% ballocn vp L L L -# -vop_ballocn { - IN struct vnode *vp; - IN off_t offset; - IN off_t length; - IN struct ucred *cred; - IN int flags; -}; - -# #% getpages vp L L L # vop_getpages { @@ -505,15 +494,6 @@ vop_putpages { }; # -#% size vp = = = -# -vop_size { - IN struct vnode *vp; - IN off_t size; - OUT off_t *eobp; -}; - -# #% mmap vp = = = # vop_mmap { |