vfs: drop a write-only var in vfs_periodic_msync_inactive
This commit is contained in:
parent
66245bc536
commit
2bcfa5ba6f
@ -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…
x
Reference in New Issue
Block a user