svn commit: r344989 - stable/11/sys/geom/eli
Kyle Evans
kevans at FreeBSD.org
Mon Mar 11 01:12:24 UTC 2019
Author: kevans
Date: Mon Mar 11 01:12:23 2019
New Revision: 344989
URL: https://svnweb.freebsd.org/changeset/base/344989
Log:
MFC r336255: Only define g_eli_key_cmp in the kernel
Modified:
stable/11/sys/geom/eli/g_eli_key_cache.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/geom/eli/g_eli_key_cache.c
==============================================================================
--- stable/11/sys/geom/eli/g_eli_key_cache.c Mon Mar 11 00:52:55 2019 (r344988)
+++ stable/11/sys/geom/eli/g_eli_key_cache.c Mon Mar 11 01:12:23 2019 (r344989)
@@ -59,8 +59,6 @@ static uint64_t g_eli_key_cache_misses;
SYSCTL_UQUAD(_kern_geom_eli, OID_AUTO, key_cache_misses, CTLFLAG_RW,
&g_eli_key_cache_misses, 0, "Key cache misses");
-#endif /* _KERNEL */
-
static int
g_eli_key_cmp(const struct g_eli_key *a, const struct g_eli_key *b)
{
@@ -71,6 +69,7 @@ g_eli_key_cmp(const struct g_eli_key *a, const struct
return (-1);
return (0);
}
+#endif /* _KERNEL */
void
g_eli_key_fill(struct g_eli_softc *sc, struct g_eli_key *key, uint64_t keyno)
More information about the svn-src-stable-11
mailing list