summaryrefslogtreecommitdiff
path: root/sys/geom
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2020-09-14 23:51:14 +0000
committerWarner Losh <imp@FreeBSD.org>2020-09-14 23:51:14 +0000
commit0c97af56a7bc4fe78d1019c4b8b87d4aec0ecd7d (patch)
tree40a04b1e985768203c6f941669b2dc82817b8b08 /sys/geom
parent44a815367202751c09a837b6c69739d73d7f9980 (diff)
downloadsrc-test2-0c97af56a7bc4fe78d1019c4b8b87d4aec0ecd7d.tar.gz
src-test2-0c97af56a7bc4fe78d1019c4b8b87d4aec0ecd7d.zip
Notes
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/eli/g_eli.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/geom/eli/g_eli.h b/sys/geom/eli/g_eli.h
index e66bdaf409b6..d07afe0c8a61 100644
--- a/sys/geom/eli/g_eli.h
+++ b/sys/geom/eli/g_eli.h
@@ -181,7 +181,9 @@ struct g_eli_softc {
uint8_t sc_ekey[G_ELI_DATAKEYLEN];
TAILQ_HEAD(, g_eli_key) sc_ekeys_queue;
RB_HEAD(g_eli_key_tree, g_eli_key) sc_ekeys_tree;
+#ifndef _STANDALONE
struct mtx sc_ekeys_lock;
+#endif
uint64_t sc_ekeys_total;
uint64_t sc_ekeys_allocated;
u_int sc_ealgo;