vfs: drop a write-only var in vfs_periodic_msync_inactive
This commit is contained in:
parent
66245bc536
commit
2bcfa5ba6f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365462
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user