summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2007-01-16 18:05:47 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2007-01-16 18:05:47 +0000
commitd770dd4758fea6324c1d5c62fd517a63c52b3380 (patch)
treeeed2df088ebcf7f35c5aa2868e54ef125503fd77 /sys
parente5dc23c945f7c9e325975b8245d926933e8437bd (diff)
regen
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vnode_if.c30
-rw-r--r--sys/sys/vnode_if.h12
2 files changed, 2 insertions, 40 deletions
diff --git a/sys/kern/vnode_if.c b/sys/kern/vnode_if.c
index 132d3526883..598d00a48a2 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.31 2006/10/16 11:27:53 pedro Exp
+ * OpenBSD: vnode_if.src,v 1.32 2007/01/16 17:52:18 thib Exp
* by the script:
* OpenBSD: vnode_if.sh,v 1.15 2006/01/02 05:05:11 jsg Exp
*/
@@ -381,33 +381,6 @@ int VOP_WRITE(struct vnode *vp, struct uio *uio, int ioflag,
return (VCALL(vp, VOFFSET(vop_write), &a));
}
-int vop_lease_vp_offsets[] = {
- VOPARG_OFFSETOF(struct vop_lease_args,a_vp),
- VDESC_NO_OFFSET
-};
-struct vnodeop_desc vop_lease_desc = {
- 0,
- "vop_lease",
- 0,
- vop_lease_vp_offsets,
- VDESC_NO_OFFSET,
- VOPARG_OFFSETOF(struct vop_lease_args, a_cred),
- VOPARG_OFFSETOF(struct vop_lease_args, a_p),
- VDESC_NO_OFFSET,
- NULL,
-};
-
-int VOP_LEASE(struct vnode *vp, struct proc *p, struct ucred *cred, int flag)
-{
- struct vop_lease_args a;
- a.a_desc = VDESC(vop_lease);
- a.a_vp = vp;
- a.a_p = p;
- a.a_cred = cred;
- a.a_flag = flag;
- return (VCALL(vp, VOFFSET(vop_lease), &a));
-}
-
int vop_ioctl_vp_offsets[] = {
VOPARG_OFFSETOF(struct vop_ioctl_args,a_vp),
VDESC_NO_OFFSET
@@ -1155,7 +1128,6 @@ struct vnodeop_desc *vfs_op_descs[] = {
&vop_setattr_desc,
&vop_read_desc,
&vop_write_desc,
- &vop_lease_desc,
&vop_ioctl_desc,
&vop_poll_desc,
&vop_kqfilter_desc,
diff --git a/sys/sys/vnode_if.h b/sys/sys/vnode_if.h
index 2140bf2e718..7fe06674fbd 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.31 2006/10/16 11:27:53 pedro Exp
+ * OpenBSD: vnode_if.src,v 1.32 2007/01/16 17:52:18 thib Exp
* by the script:
* OpenBSD: vnode_if.sh,v 1.15 2006/01/02 05:05:11 jsg Exp
*/
@@ -149,16 +149,6 @@ struct vop_write_args {
extern struct vnodeop_desc vop_write_desc;
int VOP_WRITE(struct vnode *, struct uio *, int, struct ucred *);
-struct vop_lease_args {
- struct vnodeop_desc *a_desc;
- struct vnode *a_vp;
- struct proc *a_p;
- struct ucred *a_cred;
- int a_flag;
-};
-extern struct vnodeop_desc vop_lease_desc;
-int VOP_LEASE(struct vnode *, struct proc *, struct ucred *, int);
-
struct vop_ioctl_args {
struct vnodeop_desc *a_desc;
struct vnode *a_vp;