diff --git a/include/linux/cgroup-defs.h b/include/linux/cgroup-defs.h index 6bd167ee57de..d65607f99ee9 100644 --- a/include/linux/cgroup-defs.h +++ b/include/linux/cgroup-defs.h @@ -512,10 +512,6 @@ struct cgroup_root { /* Unique id for this hierarchy. */ int hierarchy_id; - /* A list running through the active hierarchies */ - struct list_head root_list; - struct rcu_head rcu; - /* The root cgroup. Root is destroyed on its release. */ struct cgroup cgrp; @@ -525,6 +521,10 @@ struct cgroup_root { /* Number of cgroups in the hierarchy, used only for /proc/cgroups */ atomic_t nr_cgrps; + /* A list running through the active hierarchies */ + struct list_head root_list; + struct rcu_head rcu; + /* Hierarchy-specific flags */ unsigned int flags;