svn commit: r234405 - stable/8/sys/geom/part
Andrey V. Elsukov
ae at FreeBSD.org
Wed Apr 18 04:39:37 UTC 2012
Author: ae
Date: Wed Apr 18 04:39:37 2012
New Revision: 234405
URL: http://svn.freebsd.org/changeset/base/234405
Log:
MFC r233175:
Make kern.geom.part node not static. Also add CTLFLAG_TUN to the
check_integrity sysctl.
Modified:
stable/8/sys/geom/part/g_part.c
Directory Properties:
stable/8/sys/ (props changed)
Modified: stable/8/sys/geom/part/g_part.c
==============================================================================
--- stable/8/sys/geom/part/g_part.c Wed Apr 18 04:39:12 2012 (r234404)
+++ stable/8/sys/geom/part/g_part.c Wed Apr 18 04:39:37 2012 (r234405)
@@ -106,11 +106,13 @@ struct g_part_alias_list {
};
SYSCTL_DECL(_kern_geom);
-SYSCTL_NODE(_kern_geom, OID_AUTO, part, CTLFLAG_RW, 0, "GEOM_PART stuff");
+SYSCTL_NODE(_kern_geom, OID_AUTO, part, CTLFLAG_RW, 0,
+ "GEOM_PART stuff");
static u_int check_integrity = 0;
TUNABLE_INT("kern.geom.part.check_integrity", &check_integrity);
-SYSCTL_UINT(_kern_geom_part, OID_AUTO, check_integrity, CTLFLAG_RW,
- &check_integrity, 0, "Enable integrity checking");
+SYSCTL_UINT(_kern_geom_part, OID_AUTO, check_integrity,
+ CTLFLAG_RW | CTLFLAG_TUN, &check_integrity, 0,
+ "Enable integrity checking");
/*
* The GEOM partitioning class.
More information about the svn-src-stable-8
mailing list