From 33c520ace66338626ee2543704eef3711824d5cf Mon Sep 17 00:00:00 2001 From: thorpej Date: Tue, 7 Dec 1999 23:58:27 +0000 Subject: [PATCH] Regen. --- sys/kern/vnode_if.c | 21 ++------------------- sys/sys/vnode_if.h | 35 ++--------------------------------- 2 files changed, 4 insertions(+), 52 deletions(-) diff --git a/sys/kern/vnode_if.c b/sys/kern/vnode_if.c index 3ebba18196c8..d9a664838c2c 100644 --- a/sys/kern/vnode_if.c +++ b/sys/kern/vnode_if.c @@ -1,11 +1,11 @@ -/* $NetBSD: vnode_if.c,v 1.20 1999/12/07 21:07:38 wrstuden Exp $ */ +/* $NetBSD: vnode_if.c,v 1.21 1999/12/07 23:58:28 thorpej Exp $ */ /* * Warning: This file is generated automatically. * (Modifications made here may easily be lost!) * * Created from the file: - * NetBSD: vnode_if.src,v 1.22 1999/12/07 21:06:48 wrstuden Exp + * NetBSD: vnode_if.src,v 1.23 1999/12/07 23:57:49 thorpej Exp * by the script: * NetBSD: vnode_if.sh,v 1.19 1999/07/07 23:32:50 wrstuden Exp */ @@ -770,22 +770,6 @@ struct vnodeop_desc vop_whiteout_desc = { NULL, }; -int vop_balloc_vp_offsets[] = { - VOPARG_OFFSETOF(struct vop_balloc_args,a_vp), - VDESC_NO_OFFSET -}; -struct vnodeop_desc vop_balloc_desc = { - 0, - "vop_balloc", - 0, - vop_balloc_vp_offsets, - VDESC_NO_OFFSET, - VOPARG_OFFSETOF(struct vop_balloc_args, a_cred), - VDESC_NO_OFFSET, - VDESC_NO_OFFSET, - NULL, -}; - /* Special cases: */ int vop_strategy_vp_offsets[] = { @@ -869,7 +853,6 @@ struct vnodeop_desc *vfs_op_descs[] = { &vop_update_desc, &vop_lease_desc, &vop_whiteout_desc, - &vop_balloc_desc, NULL }; diff --git a/sys/sys/vnode_if.h b/sys/sys/vnode_if.h index 79d47e2876f2..fd9536b678b9 100644 --- a/sys/sys/vnode_if.h +++ b/sys/sys/vnode_if.h @@ -1,11 +1,11 @@ -/* $NetBSD: vnode_if.h,v 1.20 1999/12/07 21:07:40 wrstuden Exp $ */ +/* $NetBSD: vnode_if.h,v 1.21 1999/12/07 23:58:27 thorpej Exp $ */ /* * Warning: This file is generated automatically. * (Modifications made here may easily be lost!) * * Created from the file: - * NetBSD: vnode_if.src,v 1.22 1999/12/07 21:06:48 wrstuden Exp + * NetBSD: vnode_if.src,v 1.23 1999/12/07 23:57:49 thorpej Exp * by the script: * NetBSD: vnode_if.sh,v 1.19 1999/07/07 23:32:50 wrstuden Exp */ @@ -1105,37 +1105,6 @@ static __inline int VOP_WHITEOUT(dvp, cnp, flags) return (VCALL(dvp, VOFFSET(vop_whiteout), &a)); } -struct vop_balloc_args { - struct vnodeop_desc *a_desc; - struct vnode *a_vp; - off_t a_startoffset; - int a_size; - struct ucred *a_cred; - int a_flags; - struct buf **a_bpp; -}; -extern struct vnodeop_desc vop_balloc_desc; -static __inline int VOP_BALLOC __P((struct vnode *, off_t, int, - struct ucred *, int, struct buf **)) __attribute__((__unused__)); -static __inline int VOP_BALLOC(vp, startoffset, size, cred, flags, bpp) - struct vnode *vp; - off_t startoffset; - int size; - struct ucred *cred; - int flags; - struct buf **bpp; -{ - struct vop_balloc_args a; - a.a_desc = VDESC(vop_balloc); - a.a_vp = vp; - a.a_startoffset = startoffset; - a.a_size = size; - a.a_cred = cred; - a.a_flags = flags; - a.a_bpp = bpp; - return (VCALL(vp, VOFFSET(vop_balloc), &a)); -} - /* Special cases: */ #include