diff --git a/sys/fs/tarfs/tarfs_io.c b/sys/fs/tarfs/tarfs_io.c --- a/sys/fs/tarfs/tarfs_io.c +++ b/sys/fs/tarfs/tarfs_io.c @@ -551,8 +551,6 @@ TARFS_DPF(ZIO, "%s(%p)\n", __func__, vp); vp->v_data = NULL; - vnode_destroy_vobject(vp); - cache_purge(vp); return (0); } diff --git a/sys/fs/tarfs/tarfs_vnops.c b/sys/fs/tarfs/tarfs_vnops.c --- a/sys/fs/tarfs/tarfs_vnops.c +++ b/sys/fs/tarfs/tarfs_vnops.c @@ -524,8 +524,6 @@ tnp = VP_TO_TARFS_NODE(vp); vfs_hash_remove(vp); - vnode_destroy_vobject(vp); - cache_purge(vp); TARFS_NODE_LOCK(tnp); tnp->vnode = NULLVP;