Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2019 01:12:23 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r344989 - stable/11/sys/geom/eli
Message-ID:  <201903110112.x2B1CNAk085055@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903110112.x2B1CNAk085055>