diff options
| author | Hugh Dickins <hughd@google.com> | 2014-01-12 23:23:27 -0500 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2014-01-13 10:48:18 -0500 |
| commit | b3ff8a2f9569fb41b9cf8902897d787a33bac84f (patch) | |
| tree | 28c95f2ee2eba0a4ea516c89eb82339243a75d89 | |
| parent | 8173d5a495b5f859d56d8581d0e2ce5c1fab9c33 (diff) | |
cgroup: remove stray references to css_id
Trivial: remove the few stray references to css_id, which itself
was removed in v3.13's 2ff2a7d03bbe "cgroup: kill css_id".
Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
| -rw-r--r-- | drivers/md/bcache/request.c | 1 | ||||
| -rw-r--r-- | include/linux/cgroup.h | 3 | ||||
| -rw-r--r-- | mm/page_cgroup.c | 2 |
3 files changed, 1 insertions, 5 deletions
diff --git a/drivers/md/bcache/request.c b/drivers/md/bcache/request.c index fbcc851ed5a5..61bcfc21d2a0 100644 --- a/drivers/md/bcache/request.c +++ b/drivers/md/bcache/request.c | |||
| @@ -163,7 +163,6 @@ static struct cgroup_subsys_state *bcachecg_create(struct cgroup *cgroup) | |||
| 163 | static void bcachecg_destroy(struct cgroup *cgroup) | 163 | static void bcachecg_destroy(struct cgroup *cgroup) |
| 164 | { | 164 | { |
| 165 | struct bch_cgroup *cg = cgroup_to_bcache(cgroup); | 165 | struct bch_cgroup *cg = cgroup_to_bcache(cgroup); |
| 166 | free_css_id(&bcache_subsys, &cg->css); | ||
| 167 | kfree(cg); | 166 | kfree(cg); |
| 168 | } | 167 | } |
| 169 | 168 | ||
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index cfaf416492dd..5c097596104b 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h | |||
| @@ -29,7 +29,6 @@ struct cgroupfs_root; | |||
| 29 | struct cgroup_subsys; | 29 | struct cgroup_subsys; |
| 30 | struct inode; | 30 | struct inode; |
| 31 | struct cgroup; | 31 | struct cgroup; |
| 32 | struct css_id; | ||
| 33 | 32 | ||
| 34 | extern int cgroup_init_early(void); | 33 | extern int cgroup_init_early(void); |
| 35 | extern int cgroup_init(void); | 34 | extern int cgroup_init(void); |
| @@ -79,8 +78,6 @@ struct cgroup_subsys_state { | |||
| 79 | struct cgroup_subsys_state *parent; | 78 | struct cgroup_subsys_state *parent; |
| 80 | 79 | ||
| 81 | unsigned long flags; | 80 | unsigned long flags; |
| 82 | /* ID for this css, if possible */ | ||
| 83 | struct css_id __rcu *id; | ||
| 84 | 81 | ||
| 85 | /* percpu_ref killing and RCU release */ | 82 | /* percpu_ref killing and RCU release */ |
| 86 | struct rcu_head rcu_head; | 83 | struct rcu_head rcu_head; |
diff --git a/mm/page_cgroup.c b/mm/page_cgroup.c index 6d757e3a872a..3bd0b8e6ab12 100644 --- a/mm/page_cgroup.c +++ b/mm/page_cgroup.c | |||
| @@ -451,7 +451,7 @@ unsigned short swap_cgroup_record(swp_entry_t ent, unsigned short id) | |||
| 451 | * lookup_swap_cgroup_id - lookup mem_cgroup id tied to swap entry | 451 | * lookup_swap_cgroup_id - lookup mem_cgroup id tied to swap entry |
| 452 | * @ent: swap entry to be looked up. | 452 | * @ent: swap entry to be looked up. |
| 453 | * | 453 | * |
| 454 | * Returns CSS ID of mem_cgroup at success. 0 at failure. (0 is invalid ID) | 454 | * Returns ID of mem_cgroup at success. 0 at failure. (0 is invalid ID) |
| 455 | */ | 455 | */ |
| 456 | unsigned short lookup_swap_cgroup_id(swp_entry_t ent) | 456 | unsigned short lookup_swap_cgroup_id(swp_entry_t ent) |
| 457 | { | 457 | { |
