aboutsummaryrefslogtreecommitdiff
path: root/sys/ufs/ffs/ffs_snapshot.c
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-01-05 00:59:47 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-01-05 00:59:47 +0000
commit8dbc63520c3ea67323c2b47ad6627f55595646fa (patch)
tree01bc35642eee3507264487dc3c880e38a0ecf23a /sys/ufs/ffs/ffs_snapshot.c
parent867fd730c6c54863c8c23fab93f5ab13f06342ce (diff)
downloadsrc-8dbc63520c3ea67323c2b47ad6627f55595646fa.tar.gz
src-8dbc63520c3ea67323c2b47ad6627f55595646fa.zip
vfs: drop thread argument from vinactive
Notes
Notes: svn path=/head/; revision=356363
Diffstat (limited to 'sys/ufs/ffs/ffs_snapshot.c')
-rw-r--r--sys/ufs/ffs/ffs_snapshot.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/ufs/ffs/ffs_snapshot.c b/sys/ufs/ffs/ffs_snapshot.c
index a6adaf5e5f86..8b999544c44b 100644
--- a/sys/ufs/ffs/ffs_snapshot.c
+++ b/sys/ufs/ffs/ffs_snapshot.c
@@ -2552,10 +2552,8 @@ process_deferred_inactive(struct mount *mp)
{
struct vnode *vp, *mvp;
struct inode *ip;
- struct thread *td;
int error;
- td = curthread;
(void) vn_start_secondary_write(NULL, &mp, V_WAIT);
loop:
MNT_VNODE_FOREACH_ALL(vp, mp, mvp) {
@@ -2591,7 +2589,7 @@ process_deferred_inactive(struct mount *mp)
vdrop(vp);
continue;
}
- vinactive(vp, td);
+ vinactive(vp);
VNASSERT((vp->v_iflag & VI_OWEINACT) == 0, vp,
("process_deferred_inactive: got VI_OWEINACT"));
VI_UNLOCK(vp);