Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Hugh Dickins and committed by
Tejun Heo
b3ff8a2f 8173d5a4

+1 -5
-1
drivers/md/bcache/request.c
··· 163 163 static void bcachecg_destroy(struct cgroup *cgroup) 164 164 { 165 165 struct bch_cgroup *cg = cgroup_to_bcache(cgroup); 166 - free_css_id(&bcache_subsys, &cg->css); 167 166 kfree(cg); 168 167 } 169 168
-3
include/linux/cgroup.h
··· 29 29 struct cgroup_subsys; 30 30 struct inode; 31 31 struct cgroup; 32 - struct css_id; 33 32 34 33 extern int cgroup_init_early(void); 35 34 extern int cgroup_init(void); ··· 78 79 struct cgroup_subsys_state *parent; 79 80 80 81 unsigned long flags; 81 - /* ID for this css, if possible */ 82 - struct css_id __rcu *id; 83 82 84 83 /* percpu_ref killing and RCU release */ 85 84 struct rcu_head rcu_head;
+1 -1
mm/page_cgroup.c
··· 451 451 * lookup_swap_cgroup_id - lookup mem_cgroup id tied to swap entry 452 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 456 unsigned short lookup_swap_cgroup_id(swp_entry_t ent) 457 457 {