summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMerlin Scholz <merlin@scholz.ruhr>2023-06-11 14:12:58 +0200
committerMerlin Scholz <merlin@scholz.ruhr>2023-07-11 01:38:04 +0200
commit8927def19c9cbc3cfcff629296b04ad8b91ca931 (patch)
tree5c7c1807665945122c0f9288d682844ec3a56329
parent52522f9be619cb984e4eccfcfaa5db893a2f6fb0 (diff)
vnode modificiations to support LOCKDOC tracing
-rw-r--r--sys/sys/vnode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index e0796d2cf6d..349dab62785 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -169,7 +169,11 @@ struct vnode {
kmutex_t *v_interlock; /* - vnode interlock */
struct mount *v_mount; /* v ptr to vfs we are in */
int (**v_op)(void *); /* : vnode operations vector */
+#ifndef LOCKDOC
union {
+#else
+ struct {
+#endif
struct mount *vu_mountedhere;/* v ptr to vfs (VDIR) */
struct socket *vu_socket; /* v unix ipc (VSOCK) */
struct specnode *vu_specnode; /* v device (VCHR, VBLK) */