summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMerlin Scholz <merlin@scholz.ruhr>2023-06-11 14:12:58 +0200
committerMerlin Scholz <merlin@scholz.ruhr>2023-06-11 14:12:58 +0200
commit78ff6f18eb7b0fcf9afa4cb4705455290e26616d (patch)
tree949de0aac19eeb71c5a7df721d6c5c8ca729e39f /sys
parent5d3b440271a1e9c9d3ec0b0b623719b2f53ce137 (diff)
vnode modificiations to support LOCKDOC tracinglockdoc-9.3-vfs
Diffstat (limited to 'sys')
-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 fb33499b0f5..8cac790dcd6 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -148,7 +148,11 @@ struct vnode {
int (**v_op)(void *); /* :: vnode operations vector */
struct buflists v_cleanblkhd; /* x: clean blocklist head */
struct buflists v_dirtyblkhd; /* x: dirty blocklist head */
+#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) */