aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/p9fs
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2024-07-09 19:07:18 +0000
committerWarner Losh <imp@FreeBSD.org>2024-07-13 03:40:09 +0000
commita6ca6dfd60b66eec563bd473d96b31f0be1de80a (patch)
tree2177e6a027300ce3be97d13215dba6904339eec6 /sys/fs/p9fs
parentc55f56de9da11e11ee950993afe8b8575d8daa56 (diff)
Diffstat (limited to 'sys/fs/p9fs')
-rw-r--r--sys/fs/p9fs/p9fs_vnops.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/fs/p9fs/p9fs_vnops.c b/sys/fs/p9fs/p9fs_vnops.c
index 5556e60f4bae..6ac0a7c008cc 100644
--- a/sys/fs/p9fs/p9fs_vnops.c
+++ b/sys/fs/p9fs/p9fs_vnops.c
@@ -125,16 +125,6 @@ p9fs_cleanup(struct p9fs_node *np)
/* Destroy the vm object and flush associated pages. */
vnode_destroy_vobject(vp);
- /* Remove the vnode from hash list if vnode is not already deleted */
- if ((np->flags & P9FS_NODE_DELETED) == 0)
- vfs_hash_remove(vp);
-
- /* Invalidate all entries to a particular vnode. */
- cache_purge(vp);
-
- /* Destroy the vm object and flush associated pages. */
- vnode_destroy_vobject(vp);
-
/* Remove all the FID */
p9fs_fid_remove_all(np, FALSE);