Skip to contentSkip to conversation

sched classifier: make cgroup table local

PATCH Applied Stephen Hemminger 2 participants 2 messages Dec 31, 2013 – Jan 2, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched classifier: make cgroup table local

Doesn't need to be global.

net/sched/cls_cgroup.c +1 -1
@@ -103,7 +103,7 @@ static struct cftype ss_files[] = {
 	{ }	/* terminate */
 };
 
-struct cgroup_subsys net_cls_subsys = {
+static struct cgroup_subsys net_cls_subsys = {
 	.name		= "net_cls",
 	.css_alloc	= cgrp_css_alloc,
 	.css_online	= cgrp_css_online,