diff options
| author | 2018-05-27 06:02:14 +0000 | |
|---|---|---|
| committer | 2018-05-27 06:02:14 +0000 | |
| commit | 08107a0b7d66fc523db27a131ca819e179fb022c (patch) | |
| tree | dec151949c5d42646c0506366997d59fb2f1e1c0 /sys/kern/vfs_sync.c | |
| parent | Delete obsolete reference to setting segment registers (diff) | |
| download | wireguard-openbsd-08107a0b7d66fc523db27a131ca819e179fb022c.tar.xz wireguard-openbsd-08107a0b7d66fc523db27a131ca819e179fb022c.zip | |
Drop unnecessary `p' parameter from vget(9).
OK mpi@
Diffstat (limited to 'sys/kern/vfs_sync.c')
| -rw-r--r-- | sys/kern/vfs_sync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_sync.c b/sys/kern/vfs_sync.c index 755ca7411cb..1e8fe91ccdc 100644 --- a/sys/kern/vfs_sync.c +++ b/sys/kern/vfs_sync.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_sync.c,v 1.58 2018/04/28 03:13:05 visa Exp $ */ +/* $OpenBSD: vfs_sync.c,v 1.59 2018/05/27 06:02:14 visa Exp $ */ /* * Portions of this code are: @@ -156,7 +156,7 @@ sched_sync(struct proc *p) syncer_delayno = 0; while ((vp = LIST_FIRST(slp)) != NULL) { - if (vget(vp, LK_EXCLUSIVE | LK_NOWAIT, p)) { + if (vget(vp, LK_EXCLUSIVE | LK_NOWAIT)) { /* * If we fail to get the lock, we move this * vnode one second ahead in time. |
