Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (12 of many)
r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or already are but aren’t properly marked). Use it in preparation for a general review of all nodes. This is non-functional change that adds annotations to SYSCTL_NODE and SYSCTL_PROC nodes using one of the soon-to-be-required flags. Approved by: kib (mentor, blanket) Differential Revision: https://reviews.freebsd.org/D23637
This commit is contained in:
parent
0fd33b68cb
commit
b3eed6299b
@ -63,7 +63,8 @@ FEATURE(geom_eli, "GEOM crypto module");
|
||||
MALLOC_DEFINE(M_ELI, "eli data", "GEOM_ELI Data");
|
||||
|
||||
SYSCTL_DECL(_kern_geom);
|
||||
SYSCTL_NODE(_kern_geom, OID_AUTO, eli, CTLFLAG_RW, 0, "GEOM_ELI stuff");
|
||||
SYSCTL_NODE(_kern_geom, OID_AUTO, eli, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
|
||||
"GEOM_ELI stuff");
|
||||
static int g_eli_version = G_ELI_VERSION;
|
||||
SYSCTL_INT(_kern_geom_eli, OID_AUTO, version, CTLFLAG_RD, &g_eli_version, 0,
|
||||
"GELI version");
|
||||
|
Loading…
Reference in New Issue
Block a user