summaryrefslogtreecommitdiffstats
path: root/sys/ufs
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/ufs
parentbaac623cd9f021cfdf826109aecab017d5cae570 (diff)
downloadFreeBSD-src-023bd7c6bf24588c8650d3cdc2bbe1a905ec1820.zip
FreeBSD-src-023bd7c6bf24588c8650d3cdc2bbe1a905ec1820.tar.gz
Remove unused thread argument to vrecycle().
Reviewed by: kib
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ufs/ufs_inode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/ufs/ufs/ufs_inode.c b/sys/ufs/ufs/ufs_inode.c
index bf4e2cb..91047a1 100644
--- a/sys/ufs/ufs/ufs_inode.c
+++ b/sys/ufs/ufs/ufs_inode.c
@@ -73,7 +73,6 @@ ufs_inactive(ap)
{
struct vnode *vp = ap->a_vp;
struct inode *ip = VTOI(vp);
- struct thread *td = ap->a_td;
mode_t mode;
int error = 0;
off_t isize;
@@ -172,7 +171,7 @@ out:
* so that it can be reused immediately.
*/
if (ip->i_mode == 0)
- vrecycle(vp, td);
+ vrecycle(vp);
if (mp != NULL)
vn_finished_secondary_write(mp);
return (error);
OpenPOWER on IntegriCloud