summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index a40f2a7..2ac9cf2 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -2213,17 +2213,11 @@ vx_unlock(struct vnode *vp)
* Release the passed interlock if the vnode will be recycled.
*/
int
-vrecycle(vp, inter_lkp, td)
- struct vnode *vp;
- struct mtx *inter_lkp;
- struct thread *td;
+vrecycle(struct vnode *vp, struct thread *td)
{
VI_LOCK(vp);
if (vp->v_usecount == 0) {
- if (inter_lkp) {
- mtx_unlock(inter_lkp);
- }
vgonel(vp, td);
return (1);
}
OpenPOWER on IntegriCloud