diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2020-01-05 00:59:47 +0000 |
---|---|---|
committer | Mateusz Guzik <mjg@FreeBSD.org> | 2020-01-05 00:59:47 +0000 |
commit | 8dbc63520c3ea67323c2b47ad6627f55595646fa (patch) | |
tree | 01bc35642eee3507264487dc3c880e38a0ecf23a /sys/ufs/ffs/ffs_snapshot.c | |
parent | 867fd730c6c54863c8c23fab93f5ab13f06342ce (diff) | |
download | src-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.c | 4 |
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); |