summaryrefslogtreecommitdiffstats
path: root/sys/cddl
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/cddl
parentbaac623cd9f021cfdf826109aecab017d5cae570 (diff)
downloadFreeBSD-src-023bd7c6bf24588c8650d3cdc2bbe1a905ec1820.zip
FreeBSD-src-023bd7c6bf24588c8650d3cdc2bbe1a905ec1820.tar.gz
Remove unused thread argument to vrecycle().
Reviewed by: kib
Diffstat (limited to 'sys/cddl')
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c2
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
index 2f3f2a7..de24310 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
+++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
@@ -4556,7 +4556,7 @@ zfs_inactive(vnode_t *vp, cred_t *cr, caller_context_t *ct)
ASSERT(vp->v_count <= 1);
vp->v_count = 0;
VI_UNLOCK(vp);
- vrecycle(vp, curthread);
+ vrecycle(vp);
rw_exit(&zfsvfs->z_teardown_inactive_lock);
return;
}
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c
index acec094..cd382a2 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c
+++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c
@@ -1428,7 +1428,7 @@ zfs_zinactive(znode_t *zp)
mutex_exit(&zp->z_lock);
ZFS_OBJ_HOLD_EXIT(zfsvfs, z_id);
ASSERT(vp->v_count == 0);
- vrecycle(vp, curthread);
+ vrecycle(vp);
vfslocked = VFS_LOCK_GIANT(zfsvfs->z_vfs);
zfs_rmnode(zp);
VFS_UNLOCK_GIANT(vfslocked);
OpenPOWER on IntegriCloud