diff options
author | Tejun Heo <tj@kernel.org> | 2012-04-16 16:57:23 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-04-20 04:06:16 -0400 |
commit | 54e7ed12bad1e3aa2a28558fab6850240465f973 (patch) | |
tree | 907eb0451782f4eb1ad3f9236e51ec4acb7fb941 /block/blk-cgroup.c | |
parent | c94bed89995e638e43a6663177358b9d20617361 (diff) |
blkcg: remove blkio_group->path[]
blkio_group->path[] stores the path of the associated cgroup and is
used only for debug messages. Just format the path from blkg->cgroup
when printing debug messages.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-cgroup.c')
-rw-r--r-- | block/blk-cgroup.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c index b1807d4ecedb..63337024e4d7 100644 --- a/block/blk-cgroup.c +++ b/block/blk-cgroup.c | |||
@@ -114,7 +114,6 @@ static struct blkio_group *blkg_alloc(struct blkio_cgroup *blkcg, | |||
114 | INIT_LIST_HEAD(&blkg->q_node); | 114 | INIT_LIST_HEAD(&blkg->q_node); |
115 | blkg->blkcg = blkcg; | 115 | blkg->blkcg = blkcg; |
116 | blkg->refcnt = 1; | 116 | blkg->refcnt = 1; |
117 | cgroup_path(blkcg->css.cgroup, blkg->path, sizeof(blkg->path)); | ||
118 | 117 | ||
119 | for (i = 0; i < BLKCG_MAX_POLS; i++) { | 118 | for (i = 0; i < BLKCG_MAX_POLS; i++) { |
120 | struct blkio_policy_type *pol = blkio_policy[i]; | 119 | struct blkio_policy_type *pol = blkio_policy[i]; |