Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Fix non-DIAGNOSTICS build by adjusting _vstate_asse...



details:   https://anonhg.NetBSD.org/src/rev/56117f2e6275
branches:  trunk
changeset: 826692:56117f2e6275
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Sep 22 06:05:20 2017 +0000

description:
Fix non-DIAGNOSTICS build by adjusting _vstate_assert here too.

diffstat:

 sys/kern/vfs_vnode.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 655c2d359105 -r 56117f2e6275 sys/kern/vfs_vnode.c
--- a/sys/kern/vfs_vnode.c      Fri Sep 22 05:05:32 2017 +0000
+++ b/sys/kern/vfs_vnode.c      Fri Sep 22 06:05:20 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_vnode.c,v 1.99 2017/09/21 18:19:44 joerg Exp $     */
+/*     $NetBSD: vfs_vnode.c,v 1.100 2017/09/22 06:05:20 joerg Exp $    */
 
 /*-
  * Copyright (c) 1997-2011 The NetBSD Foundation, Inc.
@@ -156,7 +156,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_vnode.c,v 1.99 2017/09/21 18:19:44 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_vnode.c,v 1.100 2017/09/22 06:05:20 joerg Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -346,7 +346,8 @@
 #define VSTATE_WAIT_STABLE(vp) \
        vstate_wait_stable((vp))
 void
-_vstate_assert(vnode_t *vp, enum vnode_state state, const char *func, int line)
+_vstate_assert(vnode_t *vp, enum vnode_state state, const char *func, int line,
+    bool has_lock)
 {
 
 }



Home | Main Index | Thread Index | Old Index