diff options
Diffstat (limited to 'include/linux/cgroup-defs.h')
| -rw-r--r-- | include/linux/cgroup-defs.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/include/linux/cgroup-defs.h b/include/linux/cgroup-defs.h index 60d44b26276d..06b77f9dd3f2 100644 --- a/include/linux/cgroup-defs.h +++ b/include/linux/cgroup-defs.h | |||
| @@ -90,7 +90,6 @@ enum { | |||
| 90 | */ | 90 | */ |
| 91 | struct cgroup_file { | 91 | struct cgroup_file { |
| 92 | /* do not access any fields from outside cgroup core */ | 92 | /* do not access any fields from outside cgroup core */ |
| 93 | struct list_head node; /* anchored at css->files */ | ||
| 94 | struct kernfs_node *kn; | 93 | struct kernfs_node *kn; |
| 95 | }; | 94 | }; |
| 96 | 95 | ||
| @@ -134,9 +133,6 @@ struct cgroup_subsys_state { | |||
| 134 | */ | 133 | */ |
| 135 | u64 serial_nr; | 134 | u64 serial_nr; |
| 136 | 135 | ||
| 137 | /* all cgroup_files associated with this css */ | ||
| 138 | struct list_head files; | ||
| 139 | |||
| 140 | /* percpu_ref killing and RCU release */ | 136 | /* percpu_ref killing and RCU release */ |
| 141 | struct rcu_head rcu_head; | 137 | struct rcu_head rcu_head; |
| 142 | struct work_struct destroy_work; | 138 | struct work_struct destroy_work; |
| @@ -426,12 +422,9 @@ struct cgroup_subsys { | |||
| 426 | void (*css_reset)(struct cgroup_subsys_state *css); | 422 | void (*css_reset)(struct cgroup_subsys_state *css); |
| 427 | void (*css_e_css_changed)(struct cgroup_subsys_state *css); | 423 | void (*css_e_css_changed)(struct cgroup_subsys_state *css); |
| 428 | 424 | ||
| 429 | int (*can_attach)(struct cgroup_subsys_state *css, | 425 | int (*can_attach)(struct cgroup_taskset *tset); |
| 430 | struct cgroup_taskset *tset); | 426 | void (*cancel_attach)(struct cgroup_taskset *tset); |
| 431 | void (*cancel_attach)(struct cgroup_subsys_state *css, | 427 | void (*attach)(struct cgroup_taskset *tset); |
| 432 | struct cgroup_taskset *tset); | ||
| 433 | void (*attach)(struct cgroup_subsys_state *css, | ||
| 434 | struct cgroup_taskset *tset); | ||
| 435 | int (*can_fork)(struct task_struct *task, void **priv_p); | 428 | int (*can_fork)(struct task_struct *task, void **priv_p); |
| 436 | void (*cancel_fork)(struct task_struct *task, void *priv); | 429 | void (*cancel_fork)(struct task_struct *task, void *priv); |
| 437 | void (*fork)(struct task_struct *task, void *priv); | 430 | void (*fork)(struct task_struct *task, void *priv); |
