Deimplement vop_destroyvobject()

This commit is contained in:
phk 2005-02-07 08:23:36 +00:00
parent f2c8a2d0fa
commit 76cf1e24cc
2 changed files with 1 additions and 15 deletions

View File

@ -644,6 +644,7 @@ union_freevp(vp)
FREE(vp->v_data, M_TEMP);
vp->v_data = 0;
vp->v_object = NULL;
return (0);
}

View File

@ -75,7 +75,6 @@ static vop_close_t union_close;
static vop_closeextattr_t union_closeextattr;
static vop_create_t union_create;
static vop_deleteextattr_t union_deleteextattr;
static vop_destroyvobject_t union_destroyvobject;
static vop_fsync_t union_fsync;
static vop_getacl_t union_getacl;
static vop_getattr_t union_getattr;
@ -1691,19 +1690,6 @@ union_reclaim(ap)
return (0);
}
/*
* We have nothing to destroy and this operation shouldn't be bypassed.
*/
static int
union_destroyvobject(ap)
struct vop_destroyvobject_args /* {
struct vnode *vp;
} */ *ap;
{
return (0);
}
static int
union_print(ap)
struct vop_print_args /* {
@ -2017,7 +2003,6 @@ struct vop_vector union_vnodeops = {
.vop_closeextattr = union_closeextattr,
.vop_create = union_create,
.vop_deleteextattr = union_deleteextattr,
.vop_destroyvobject = union_destroyvobject,
.vop_fsync = union_fsync,
.vop_getacl = union_getacl,
.vop_getattr = union_getattr,