Author: mjg
Date: Tue Sep 8 16:06:26 2020
New Revision: 365462
URL: https://svnweb.freebsd.org/changeset/base/365462
Log:
vfs: drop a write-only var in vfs_periodic_msync_inactive
Modified:
head/sys/kern/vfs_subr.c
Modified: head/sys/kern/vfs_subr.c
==============================================================================
--- head/sys/kern/vfs_subr.c Tue Sep 8 15:39:19 2020 (r365461)
+++ head/sys/kern/vfs_subr.c Tue Sep 8 16:06:26 2020 (r365462)
@@ -4668,11 +4668,8 @@ vfs_periodic_msync_inactive(struct mount *mp, int flag
{
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) {
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"