svn commit: r322566 - stable/10/sys/geom/journal
Kirk McKusick
mckusick at FreeBSD.org
Wed Aug 16 05:51:06 UTC 2017
Author: mckusick
Date: Wed Aug 16 05:51:05 2017
New Revision: 322566
URL: https://svnweb.freebsd.org/changeset/base/322566
Log:
Correct compile error triggered in nanobsd i386 by 322513 (MFC of 322178)
Reported by: Li-Wen Hsu
Fix by: kib
Approved by: re (delphij)
Modified:
stable/10/sys/geom/journal/g_journal.c
Modified: stable/10/sys/geom/journal/g_journal.c
==============================================================================
--- stable/10/sys/geom/journal/g_journal.c Wed Aug 16 05:02:31 2017 (r322565)
+++ stable/10/sys/geom/journal/g_journal.c Wed Aug 16 05:51:05 2017 (r322566)
@@ -133,7 +133,7 @@ SYSCTL_UINT(_kern_geom_journal, OID_AUTO, optimize, CT
static u_long g_journal_cache_used = 0;
static u_long g_journal_cache_limit = 64 * 1024 * 1024;
-TUNABLE_INT("kern.geom.journal.cache.limit", &g_journal_cache_limit);
+TUNABLE_LONG("kern.geom.journal.cache.limit", &g_journal_cache_limit);
static u_int g_journal_cache_divisor = 2;
TUNABLE_INT("kern.geom.journal.cache.divisor", &g_journal_cache_divisor);
static u_int g_journal_cache_switch = 90;
More information about the svn-src-stable
mailing list