diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2012-04-23 14:10:34 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2012-04-23 14:10:34 +0000 |
commit | af6e6b87ad62c94b7d01c24d9022db7f56a2e4dd (patch) | |
tree | 1c7f6ec874620439412eae3b29fc73b1cc70376c /sys/fs | |
parent | c52fd858ae680729fcc6dd199526551da2222942 (diff) | |
download | src-af6e6b87ad62c94b7d01c24d9022db7f56a2e4dd.tar.gz src-af6e6b87ad62c94b7d01c24d9022db7f56a2e4dd.zip |
Remove unused thread argument to vrecycle().
Reviewed by: kib
Notes
Notes:
svn path=/head/; revision=234607
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/cd9660/cd9660_node.c | 3 | ||||
-rw-r--r-- | sys/fs/ext2fs/ext2_inode.c | 2 | ||||
-rw-r--r-- | sys/fs/hpfs/hpfs_vnops.c | 2 | ||||
-rw-r--r-- | sys/fs/msdosfs/msdosfs_denode.c | 3 | ||||
-rw-r--r-- | sys/fs/nullfs/null_vnops.c | 3 | ||||
-rw-r--r-- | sys/fs/smbfs/smbfs_node.c | 2 | ||||
-rw-r--r-- | sys/fs/tmpfs/tmpfs_vnops.c | 3 | ||||
-rw-r--r-- | sys/fs/unionfs/union_vnops.c | 2 |
8 files changed, 8 insertions, 12 deletions
diff --git a/sys/fs/cd9660/cd9660_node.c b/sys/fs/cd9660/cd9660_node.c index e1c68c69bade..19d723e1e6e2 100644 --- a/sys/fs/cd9660/cd9660_node.c +++ b/sys/fs/cd9660/cd9660_node.c @@ -65,7 +65,6 @@ cd9660_inactive(ap) } */ *ap; { struct vnode *vp = ap->a_vp; - struct thread *td = ap->a_td; struct iso_node *ip = VTOI(vp); int error = 0; @@ -74,7 +73,7 @@ cd9660_inactive(ap) * so that it can be reused immediately. */ if (ip->inode.iso_mode == 0) - vrecycle(vp, td); + vrecycle(vp); return error; } diff --git a/sys/fs/ext2fs/ext2_inode.c b/sys/fs/ext2fs/ext2_inode.c index 93e59ddf9c9b..24acc644800c 100644 --- a/sys/fs/ext2fs/ext2_inode.c +++ b/sys/fs/ext2fs/ext2_inode.c @@ -498,7 +498,7 @@ out: * so that it can be reused immediately. */ if (ip->i_mode == 0) - vrecycle(vp, td); + vrecycle(vp); return (error); } diff --git a/sys/fs/hpfs/hpfs_vnops.c b/sys/fs/hpfs/hpfs_vnops.c index f3254887a327..ccf4f3cabe9e 100644 --- a/sys/fs/hpfs/hpfs_vnops.c +++ b/sys/fs/hpfs/hpfs_vnops.c @@ -576,7 +576,7 @@ hpfs_inactive(ap) } if (hp->h_flag & H_INVAL) { - vrecycle(vp, ap->a_td); + vrecycle(vp); return (0); } diff --git a/sys/fs/msdosfs/msdosfs_denode.c b/sys/fs/msdosfs/msdosfs_denode.c index 339f06a60a6e..c10fcf9c120b 100644 --- a/sys/fs/msdosfs/msdosfs_denode.c +++ b/sys/fs/msdosfs/msdosfs_denode.c @@ -583,7 +583,6 @@ msdosfs_inactive(ap) { struct vnode *vp = ap->a_vp; struct denode *dep = VTODE(vp); - struct thread *td = ap->a_td; int error = 0; #ifdef MSDOSFS_DEBUG @@ -622,6 +621,6 @@ out: vrefcnt(vp), dep->de_Name[0]); #endif if (dep->de_Name[0] == SLOT_DELETED || dep->de_Name[0] == SLOT_EMPTY) - vrecycle(vp, td); + vrecycle(vp); return (error); } diff --git a/sys/fs/nullfs/null_vnops.c b/sys/fs/nullfs/null_vnops.c index b607666d093f..6f40233f8d7a 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); } diff --git a/sys/fs/smbfs/smbfs_node.c b/sys/fs/smbfs/smbfs_node.c index 9de8eb51d6cb..bf1776ad1650 100644 --- a/sys/fs/smbfs/smbfs_node.c +++ b/sys/fs/smbfs/smbfs_node.c @@ -373,7 +373,7 @@ smbfs_inactive(ap) smbfs_attr_cacheremove(vp); } if (np->n_flag & NGONE) - vrecycle(vp, td); + vrecycle(vp); return (0); } /* diff --git a/sys/fs/tmpfs/tmpfs_vnops.c b/sys/fs/tmpfs/tmpfs_vnops.c index be42f9ab4fcd..09780c8d315a 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; } diff --git a/sys/fs/unionfs/union_vnops.c b/sys/fs/unionfs/union_vnops.c index 19ae7d2e7f3d..47cb3d18e97d 100644 --- a/sys/fs/unionfs/union_vnops.c +++ b/sys/fs/unionfs/union_vnops.c @@ -1702,7 +1702,7 @@ static int unionfs_inactive(struct vop_inactive_args *ap) { ap->a_vp->v_object = NULL; - vrecycle(ap->a_vp, ap->a_td); + vrecycle(ap->a_vp); return (0); } |