vfs: drop a write-only var in vfs_periodic_msync_inactive

This commit is contained in:
Mateusz Guzik 2020-09-08 16:06:26 +00:00
parent 66245bc536
commit 2bcfa5ba6f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365462

View File

@ -4668,12 +4668,9 @@ vfs_periodic_msync_inactive(struct mount *mp, int flags)
{
struct vnode *vp, *mvp;
struct vm_object *obj;
struct thread *td;
int lkflags, objflags;
bool seen_defer;
td = curthread;
lkflags = LK_EXCLUSIVE | LK_INTERLOCK;
if (flags != MNT_WAIT) {
lkflags |= LK_NOWAIT;