summaryrefslogtreecommitdiffstats
path: root/sys/fs/tmpfs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/tmpfs')
-rw-r--r--sys/fs/tmpfs/tmpfs_vnops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/fs/tmpfs/tmpfs_vnops.c b/sys/fs/tmpfs/tmpfs_vnops.c
index be42f9a..09780c8 100644
--- a/sys/fs/tmpfs/tmpfs_vnops.c
+++ b/sys/fs/tmpfs/tmpfs_vnops.c
@@ -1577,7 +1577,6 @@ static int
tmpfs_inactive(struct vop_inactive_args *v)
{
struct vnode *vp = v->a_vp;
- struct thread *l = v->a_td;
struct tmpfs_node *node;
@@ -1586,7 +1585,7 @@ tmpfs_inactive(struct vop_inactive_args *v)
node = VP_TO_TMPFS_NODE(vp);
if (node->tn_links == 0)
- vrecycle(vp, l);
+ vrecycle(vp);
return 0;
}
OpenPOWER on IntegriCloud