diff options
| author | 2017-12-04 09:38:20 +0000 | |
|---|---|---|
| committer | 2017-12-04 09:38:20 +0000 | |
| commit | 25391aceeff3784e353740a04fe0c6eb34daed23 (patch) | |
| tree | 35c914eae2cbdf24bb7047f9bcfab132eaffb36f /sys/kern/vfs_subr.c | |
| parent | If we wanted to send out more proposals than just one, we need to set a (diff) | |
| download | wireguard-openbsd-25391aceeff3784e353740a04fe0c6eb34daed23.tar.xz wireguard-openbsd-25391aceeff3784e353740a04fe0c6eb34daed23.zip | |
Use _kernel_lock_held() instead of __mp_lock_held(&kernel_lock).
ok visa@
Diffstat (limited to 'sys/kern/vfs_subr.c')
| -rw-r--r-- | sys/kern/vfs_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 86e119003bf..5dc5a7813be 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_subr.c,v 1.260 2017/07/31 16:47:03 florian Exp $ */ +/* $OpenBSD: vfs_subr.c,v 1.261 2017/12/04 09:38:20 mpi Exp $ */ /* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */ /* @@ -1688,7 +1688,7 @@ vfs_syncwait(int verbose) if (verbose) printf("%d ", nbusy); #ifdef MULTIPROCESSOR - if (__mp_lock_held(&kernel_lock)) + if (_kernel_lock_held()) hold_count = __mp_release_all(&kernel_lock); else hold_count = 0; |
