summaryrefslogtreecommitdiffstats
path: root/sys/fs/unionfs/union_vnops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/unionfs/union_vnops.c')
-rw-r--r--sys/fs/unionfs/union_vnops.c24
1 files changed, 1 insertions, 23 deletions
diff --git a/sys/fs/unionfs/union_vnops.c b/sys/fs/unionfs/union_vnops.c
index d16851d..8505cac 100644
--- a/sys/fs/unionfs/union_vnops.c
+++ b/sys/fs/unionfs/union_vnops.c
@@ -902,27 +902,6 @@ unionfs_write(struct vop_write_args *ap)
}
static int
-unionfs_lease(struct vop_lease_args *ap)
-{
- int error;
- struct unionfs_node *unp;
- struct vnode *vp;
-
- UNIONFS_INTERNAL_DEBUG("unionfs_lease: enter\n");
-
- KASSERT_UNIONFS_VNODE(ap->a_vp);
-
- unp = VTOUNIONFS(ap->a_vp);
- vp = (unp->un_uppervp != NULLVP ? unp->un_uppervp : unp->un_lowervp);
-
- error = VOP_LEASE(vp, ap->a_td, ap->a_cred, ap->a_flag);
-
- UNIONFS_INTERNAL_DEBUG("unionfs_lease: lease (%d)\n", error);
-
- return (error);
-}
-
-static int
unionfs_ioctl(struct vop_ioctl_args *ap)
{
int error;
@@ -947,7 +926,7 @@ unionfs_ioctl(struct vop_ioctl_args *ap)
error = VOP_IOCTL(ovp, ap->a_command, ap->a_data, ap->a_fflag,
ap->a_cred, ap->a_td);
- UNIONFS_INTERNAL_DEBUG("unionfs_ioctl: lease (%d)\n", error);
+ UNIONFS_INTERNAL_DEBUG("unionfs_ioctl: leave (%d)\n", error);
return (error);
}
@@ -2461,7 +2440,6 @@ struct vop_vector unionfs_vnodeops = {
.vop_getwritemount = unionfs_getwritemount,
.vop_inactive = unionfs_inactive,
.vop_ioctl = unionfs_ioctl,
- .vop_lease = unionfs_lease,
.vop_link = unionfs_link,
.vop_listextattr = unionfs_listextattr,
.vop_lock1 = unionfs_lock,
OpenPOWER on IntegriCloud