From d0bbbd08819960975b875f626d055d6f49ac295a Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 25 Jan 2005 00:12:24 +0000 Subject: Kill VOP_CREATEVOBJECT(), it is now the responsibility of the filesystem for a given vnode to create a vnode_pager object if one is needed. --- sys/fs/unionfs/union_vnops.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'sys/fs/unionfs/union_vnops.c') diff --git a/sys/fs/unionfs/union_vnops.c b/sys/fs/unionfs/union_vnops.c index a1f3988..db0d905 100644 --- a/sys/fs/unionfs/union_vnops.c +++ b/sys/fs/unionfs/union_vnops.c @@ -74,7 +74,6 @@ static vop_advlock_t union_advlock; static vop_close_t union_close; static vop_closeextattr_t union_closeextattr; static vop_create_t union_create; -static vop_createvobject_t union_createvobject; static vop_deleteextattr_t union_deleteextattr; static vop_destroyvobject_t union_destroyvobject; static vop_fsync_t union_fsync; @@ -1694,22 +1693,6 @@ union_reclaim(ap) } /* - * unionvp do not hold a VM object and there is no need to create one for - * upper or lower vp because it is done in the union_open() - */ -static int -union_createvobject(ap) - struct vop_createvobject_args /* { - struct vnode *vp; - struct ucred *cred; - struct thread *td; - } */ *ap; -{ - - return (0); -} - -/* * We have nothing to destroy and this operation shouldn't be bypassed. */ static int @@ -2053,7 +2036,6 @@ struct vop_vector union_vnodeops = { .vop_close = union_close, .vop_closeextattr = union_closeextattr, .vop_create = union_create, - .vop_createvobject = union_createvobject, .vop_deleteextattr = union_deleteextattr, .vop_destroyvobject = union_destroyvobject, .vop_fsync = union_fsync, -- cgit v1.1