diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/cgroup.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index 3752a0182c94..77294fc66603 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | 24 | ||
| 25 | #ifdef CONFIG_CGROUPS | 25 | #ifdef CONFIG_CGROUPS |
| 26 | 26 | ||
| 27 | struct cgroupfs_root; | 27 | struct cgroup_root; |
| 28 | struct cgroup_subsys; | 28 | struct cgroup_subsys; |
| 29 | struct inode; | 29 | struct inode; |
| 30 | struct cgroup; | 30 | struct cgroup; |
| @@ -179,7 +179,7 @@ struct cgroup { | |||
| 179 | /* Private pointers for each registered subsystem */ | 179 | /* Private pointers for each registered subsystem */ |
| 180 | struct cgroup_subsys_state __rcu *subsys[CGROUP_SUBSYS_COUNT]; | 180 | struct cgroup_subsys_state __rcu *subsys[CGROUP_SUBSYS_COUNT]; |
| 181 | 181 | ||
| 182 | struct cgroupfs_root *root; | 182 | struct cgroup_root *root; |
| 183 | 183 | ||
| 184 | /* | 184 | /* |
| 185 | * List of cgrp_cset_links pointing at css_sets with tasks in this | 185 | * List of cgrp_cset_links pointing at css_sets with tasks in this |
| @@ -211,7 +211,7 @@ struct cgroup { | |||
| 211 | 211 | ||
| 212 | #define MAX_CGROUP_ROOT_NAMELEN 64 | 212 | #define MAX_CGROUP_ROOT_NAMELEN 64 |
| 213 | 213 | ||
| 214 | /* cgroupfs_root->flags */ | 214 | /* cgroup_root->flags */ |
| 215 | enum { | 215 | enum { |
| 216 | /* | 216 | /* |
| 217 | * Unfortunately, cgroup core and various controllers are riddled | 217 | * Unfortunately, cgroup core and various controllers are riddled |
| @@ -272,18 +272,18 @@ enum { | |||
| 272 | }; | 272 | }; |
| 273 | 273 | ||
| 274 | /* | 274 | /* |
| 275 | * A cgroupfs_root represents the root of a cgroup hierarchy, and may be | 275 | * A cgroup_root represents the root of a cgroup hierarchy, and may be |
| 276 | * associated with a kernfs_root to form an active hierarchy. This is | 276 | * associated with a kernfs_root to form an active hierarchy. This is |
| 277 | * internal to cgroup core. Don't access directly from controllers. | 277 | * internal to cgroup core. Don't access directly from controllers. |
| 278 | */ | 278 | */ |
| 279 | struct cgroupfs_root { | 279 | struct cgroup_root { |
| 280 | struct kernfs_root *kf_root; | 280 | struct kernfs_root *kf_root; |
| 281 | 281 | ||
| 282 | /* Unique id for this hierarchy. */ | 282 | /* Unique id for this hierarchy. */ |
| 283 | int hierarchy_id; | 283 | int hierarchy_id; |
| 284 | 284 | ||
| 285 | /* The root cgroup. Root is destroyed on its release. */ | 285 | /* The root cgroup. Root is destroyed on its release. */ |
| 286 | struct cgroup top_cgroup; | 286 | struct cgroup cgrp; |
| 287 | 287 | ||
| 288 | /* Number of cgroups in the hierarchy, used only for /proc/cgroups */ | 288 | /* Number of cgroups in the hierarchy, used only for /proc/cgroups */ |
| 289 | atomic_t nr_cgrps; | 289 | atomic_t nr_cgrps; |
| @@ -598,7 +598,7 @@ struct cgroup_subsys { | |||
| 598 | const char *name; | 598 | const char *name; |
| 599 | 599 | ||
| 600 | /* link to parent, protected by cgroup_lock() */ | 600 | /* link to parent, protected by cgroup_lock() */ |
| 601 | struct cgroupfs_root *root; | 601 | struct cgroup_root *root; |
| 602 | 602 | ||
| 603 | /* | 603 | /* |
| 604 | * List of cftypes. Each entry is the first entry of an array | 604 | * List of cftypes. Each entry is the first entry of an array |
