aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-cgroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/blk-cgroup.c')
-rw-r--r--block/blk-cgroup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c
index 0426ab692fd5..6bc99a3865b0 100644
--- a/block/blk-cgroup.c
+++ b/block/blk-cgroup.c
@@ -33,6 +33,10 @@ void blkiocg_add_blkio_group(struct blkio_cgroup *blkcg,
33 blkg->blkcg_id = css_id(&blkcg->css); 33 blkg->blkcg_id = css_id(&blkcg->css);
34 hlist_add_head_rcu(&blkg->blkcg_node, &blkcg->blkg_list); 34 hlist_add_head_rcu(&blkg->blkcg_node, &blkcg->blkg_list);
35 spin_unlock_irqrestore(&blkcg->lock, flags); 35 spin_unlock_irqrestore(&blkcg->lock, flags);
36#ifdef CONFIG_DEBUG_BLK_CGROUP
37 /* Need to take css reference ? */
38 cgroup_path(blkcg->css.cgroup, blkg->path, sizeof(blkg->path));
39#endif
36} 40}
37 41
38static void __blkiocg_del_blkio_group(struct blkio_group *blkg) 42static void __blkiocg_del_blkio_group(struct blkio_group *blkg)