summaryrefslogtreecommitdiffstats
path: root/sys/fs/pseudofs/pseudofs_vncache.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/pseudofs/pseudofs_vncache.c')
-rw-r--r--sys/fs/pseudofs/pseudofs_vncache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/pseudofs/pseudofs_vncache.c b/sys/fs/pseudofs/pseudofs_vncache.c
index 36c03b4..ba57602 100644
--- a/sys/fs/pseudofs/pseudofs_vncache.c
+++ b/sys/fs/pseudofs/pseudofs_vncache.c
@@ -268,9 +268,9 @@ pfs_purge(struct pfs_node *pn)
vnp = pvd->pvd_vnode;
vhold(vnp);
mtx_unlock(&pfs_vncache_mutex);
- VOP_LOCK(vnp, LK_EXCLUSIVE, curthread);
+ VOP_LOCK(vnp, LK_EXCLUSIVE);
vgone(vnp);
- VOP_UNLOCK(vnp, 0, curthread);
+ VOP_UNLOCK(vnp, 0);
vdrop(vnp);
mtx_lock(&pfs_vncache_mutex);
pvd = pfs_vncache;
OpenPOWER on IntegriCloud