summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2005-05-28 03:06:54 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2005-05-28 03:06:54 +0000
commitd4bf69dc3311dc30b3e4564da4999af70b60eb21 (patch)
tree8fdeb33537e89845e0da4d1f6b7710fa7ac0cc53
parenta4852523eb74ba93c5eeac37d3d76ad481607350 (diff)
regen
-rw-r--r--sys/kern/vnode_if.c36
-rw-r--r--sys/sys/vnode_if.h11
2 files changed, 2 insertions, 45 deletions
diff --git a/sys/kern/vnode_if.c b/sys/kern/vnode_if.c
index 7ae8f616ffd..d9eb9928422 100644
--- a/sys/kern/vnode_if.c
+++ b/sys/kern/vnode_if.c
@@ -3,7 +3,7 @@
* (Modifications made here may easily be lost!)
*
* Created from the file:
- * OpenBSD: vnode_if.src,v 1.25 2005/05/22 21:08:21 pedro Exp
+ * OpenBSD: vnode_if.src,v 1.26 2005/05/28 03:05:44 pedro Exp
* by the script:
* OpenBSD: vnode_if.sh,v 1.14 2005/05/22 21:07:23 pedro Exp
*/
@@ -1193,39 +1193,6 @@ int VOP_REALLOCBLKS(vp, buflist)
return (VCALL(vp, VOFFSET(vop_reallocblks), &a));
}
-int vop_whiteout_vp_offsets[] = {
- VOPARG_OFFSETOF(struct vop_whiteout_args,a_dvp),
- VDESC_NO_OFFSET
-};
-struct vnodeop_desc vop_whiteout_desc = {
- 0,
- "vop_whiteout",
- 0,
- vop_whiteout_vp_offsets,
- VDESC_NO_OFFSET,
- VDESC_NO_OFFSET,
- VDESC_NO_OFFSET,
- VOPARG_OFFSETOF(struct vop_whiteout_args, a_cnp),
- NULL,
-};
-
-int VOP_WHITEOUT(dvp, cnp, flags)
- struct vnode *dvp;
- struct componentname *cnp;
- int flags;
-{
- struct vop_whiteout_args a;
- a.a_desc = VDESC(vop_whiteout);
- a.a_dvp = dvp;
-#ifdef VFSDEBUG
- if ((dvp->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(dvp))
- panic("vop_whiteout: dvp");
-#endif
- a.a_cnp = cnp;
- a.a_flags = flags;
- return (VCALL(dvp, VOFFSET(vop_whiteout), &a));
-}
-
int vop_getextattr_vp_offsets[] = {
VOPARG_OFFSETOF(struct vop_getextattr_args,a_vp),
VDESC_NO_OFFSET
@@ -1390,7 +1357,6 @@ struct vnodeop_desc *vfs_op_descs[] = {
&vop_pathconf_desc,
&vop_advlock_desc,
&vop_reallocblks_desc,
- &vop_whiteout_desc,
&vop_getextattr_desc,
&vop_setextattr_desc,
NULL
diff --git a/sys/sys/vnode_if.h b/sys/sys/vnode_if.h
index d256d1146cd..2b3b6f8f238 100644
--- a/sys/sys/vnode_if.h
+++ b/sys/sys/vnode_if.h
@@ -3,7 +3,7 @@
* (Modifications made here may easily be lost!)
*
* Created from the file:
- * OpenBSD: vnode_if.src,v 1.25 2005/05/22 21:08:21 pedro Exp
+ * OpenBSD: vnode_if.src,v 1.26 2005/05/28 03:05:44 pedro Exp
* by the script:
* OpenBSD: vnode_if.sh,v 1.14 2005/05/22 21:07:23 pedro Exp
*/
@@ -380,15 +380,6 @@ struct vop_reallocblks_args {
extern struct vnodeop_desc vop_reallocblks_desc;
int VOP_REALLOCBLKS(struct vnode *, struct cluster_save *);
-struct vop_whiteout_args {
- struct vnodeop_desc *a_desc;
- struct vnode *a_dvp;
- struct componentname *a_cnp;
- int a_flags;
-};
-extern struct vnodeop_desc vop_whiteout_desc;
-int VOP_WHITEOUT(struct vnode *, struct componentname *, int);
-
struct vop_getextattr_args {
struct vnodeop_desc *a_desc;
struct vnode *a_vp;