summaryrefslogtreecommitdiffstats
path: root/sys/fs/nullfs/null_vnops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/nullfs/null_vnops.c')
-rw-r--r--sys/fs/nullfs/null_vnops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/fs/nullfs/null_vnops.c b/sys/fs/nullfs/null_vnops.c
index b607666..6f40233 100644
--- a/sys/fs/nullfs/null_vnops.c
+++ b/sys/fs/nullfs/null_vnops.c
@@ -678,7 +678,6 @@ static int
null_inactive(struct vop_inactive_args *ap)
{
struct vnode *vp = ap->a_vp;
- struct thread *td = ap->a_td;
vp->v_object = NULL;
@@ -686,7 +685,7 @@ null_inactive(struct vop_inactive_args *ap)
* If this is the last reference, then free up the vnode
* so as not to tie up the lower vnodes.
*/
- vrecycle(vp, td);
+ vrecycle(vp);
return (0);
}
OpenPOWER on IntegriCloud