Module Name: src
Committed By: hannken
Date: Tue May 3 13:55:29 UTC 2022
Modified Files:
src/sys/kern: vnode_if.c
src/sys/rump/include/rump: rumpvnode_if.h
src/sys/rump/librump/rumpvfs: rumpvnode_if.c
src/sys/sys: vnode_if.h
Log Message:
Regen.
To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117 src/sys/kern/vnode_if.c
cvs rdiff -u -r1.38 -r1.39 src/sys/rump/include/rump/rumpvnode_if.h
cvs rdiff -u -r1.38 -r1.39 src/sys/rump/librump/rumpvfs/rumpvnode_if.c
cvs rdiff -u -r1.109 -r1.110 src/sys/sys/vnode_if.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/kern/vnode_if.c
diff -u src/sys/kern/vnode_if.c:1.116 src/sys/kern/vnode_if.c:1.117
--- src/sys/kern/vnode_if.c:1.116 Tue May 3 08:35:11 2022
+++ src/sys/kern/vnode_if.c Tue May 3 13:55:29 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: vnode_if.c,v 1.116 2022/05/03 08:35:11 hannken Exp $ */
+/* $NetBSD: vnode_if.c,v 1.117 2022/05/03 13:55:29 hannken Exp $ */
/*
* Warning: DO NOT EDIT! This file is automatically generated!
@@ -7,7 +7,7 @@
* Created from the file:
* NetBSD: vnode_if.src,v 1.84 2022/05/03 08:33:59 hannken Exp
* by the script:
- * NetBSD: vnode_if.sh,v 1.74 2022/05/03 08:33:59 hannken Exp
+ * NetBSD: vnode_if.sh,v 1.75 2022/05/03 13:54:18 hannken Exp
*/
/*
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vnode_if.c,v 1.116 2022/05/03 08:35:11 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vnode_if.c,v 1.117 2022/05/03 13:55:29 hannken Exp $");
#ifdef _KERNEL_OPT
#include "opt_vnode_lockdebug.h"
@@ -303,28 +303,34 @@ vop_post(vnode_t *vp, struct mount *mp,
static inline void
assert_vop_unlocked(vnode_t *vp, const char *str)
{
+#if defined(VNODE_LOCKDEBUG)
if (VOP_ISLOCKED(vp) == LK_EXCLUSIVE)
panic("%s: %p %d/%d is locked but should not be",
str, vp, vp->v_tag, vp->v_type);
+#endif
}
static inline void
assert_vop_locked(vnode_t *vp, const char *str)
{
+#if defined(VNODE_LOCKDEBUG)
if (VOP_ISLOCKED(vp) == LK_NONE)
panic("%s: %p %d/%d is not locked but should be",
str, vp, vp->v_tag, vp->v_type);
+#endif
}
static inline void
assert_vop_elocked(vnode_t *vp, const char *str)
{
+#if defined(VNODE_LOCKDEBUG)
if (VOP_ISLOCKED(vp) != LK_EXCLUSIVE)
panic("%s: %p %d/%d is not exclusive locked but should be",
str, vp, vp->v_tag, vp->v_type);
+#endif
}
const struct vnodeop_desc vop_default_desc = {
Index: src/sys/rump/include/rump/rumpvnode_if.h
diff -u src/sys/rump/include/rump/rumpvnode_if.h:1.38 src/sys/rump/include/rump/rumpvnode_if.h:1.39
--- src/sys/rump/include/rump/rumpvnode_if.h:1.38 Tue May 3 08:35:11 2022
+++ src/sys/rump/include/rump/rumpvnode_if.h Tue May 3 13:55:29 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpvnode_if.h,v 1.38 2022/05/03 08:35:11 hannken Exp $ */
+/* $NetBSD: rumpvnode_if.h,v 1.39 2022/05/03 13:55:29 hannken Exp $ */
/*
* Warning: DO NOT EDIT! This file is automatically generated!
@@ -7,7 +7,7 @@
* Created from the file:
* NetBSD: vnode_if.src,v 1.84 2022/05/03 08:33:59 hannken Exp
* by the script:
- * NetBSD: vnode_if.sh,v 1.74 2022/05/03 08:33:59 hannken Exp
+ * NetBSD: vnode_if.sh,v 1.75 2022/05/03 13:54:18 hannken Exp
*/
/*
Index: src/sys/rump/librump/rumpvfs/rumpvnode_if.c
diff -u src/sys/rump/librump/rumpvfs/rumpvnode_if.c:1.38 src/sys/rump/librump/rumpvfs/rumpvnode_if.c:1.39
--- src/sys/rump/librump/rumpvfs/rumpvnode_if.c:1.38 Tue May 3 08:35:11 2022
+++ src/sys/rump/librump/rumpvfs/rumpvnode_if.c Tue May 3 13:55:29 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpvnode_if.c,v 1.38 2022/05/03 08:35:11 hannken Exp $ */
+/* $NetBSD: rumpvnode_if.c,v 1.39 2022/05/03 13:55:29 hannken Exp $ */
/*
* Warning: DO NOT EDIT! This file is automatically generated!
@@ -7,7 +7,7 @@
* Created from the file:
* NetBSD: vnode_if.src,v 1.84 2022/05/03 08:33:59 hannken Exp
* by the script:
- * NetBSD: vnode_if.sh,v 1.74 2022/05/03 08:33:59 hannken Exp
+ * NetBSD: vnode_if.sh,v 1.75 2022/05/03 13:54:18 hannken Exp
*/
/*
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rumpvnode_if.c,v 1.38 2022/05/03 08:35:11 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rumpvnode_if.c,v 1.39 2022/05/03 13:55:29 hannken Exp $");
#include <sys/param.h>
#include <sys/mount.h>
Index: src/sys/sys/vnode_if.h
diff -u src/sys/sys/vnode_if.h:1.109 src/sys/sys/vnode_if.h:1.110
--- src/sys/sys/vnode_if.h:1.109 Tue May 3 08:35:11 2022
+++ src/sys/sys/vnode_if.h Tue May 3 13:55:29 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: vnode_if.h,v 1.109 2022/05/03 08:35:11 hannken Exp $ */
+/* $NetBSD: vnode_if.h,v 1.110 2022/05/03 13:55:29 hannken Exp $ */
/*
* Warning: DO NOT EDIT! This file is automatically generated!
@@ -7,7 +7,7 @@
* Created from the file:
* NetBSD: vnode_if.src,v 1.84 2022/05/03 08:33:59 hannken Exp
* by the script:
- * NetBSD: vnode_if.sh,v 1.74 2022/05/03 08:33:59 hannken Exp
+ * NetBSD: vnode_if.sh,v 1.75 2022/05/03 13:54:18 hannken Exp
*/
/*