summaryrefslogtreecommitdiffstats
path: root/sys/fs/nullfs
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2012-04-23 14:10:34 +0000
committertrasz <trasz@FreeBSD.org>2012-04-23 14:10:34 +0000
commit023bd7c6bf24588c8650d3cdc2bbe1a905ec1820 (patch)
tree1c7f6ec874620439412eae3b29fc73b1cc70376c /sys/fs/nullfs
parentbaac623cd9f021cfdf826109aecab017d5cae570 (diff)
downloadFreeBSD-src-023bd7c6bf24588c8650d3cdc2bbe1a905ec1820.zip
FreeBSD-src-023bd7c6bf24588c8650d3cdc2bbe1a905ec1820.tar.gz
Remove unused thread argument to vrecycle().
Reviewed by: kib
Diffstat (limited to 'sys/fs/nullfs')
-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