diff options
author | Tejun Heo <tj@kernel.org> | 2012-04-16 13:57:23 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-04-20 10:06:16 +0200 |
commit | 54e7ed12bad1e3aa2a28558fab6850240465f973 (patch) | |
tree | 907eb0451782f4eb1ad3f9236e51ec4acb7fb941 /block/blk-cgroup.c | |
parent | c94bed89995e638e43a6663177358b9d20617361 (diff) | |
download | op-kernel-dev-54e7ed12bad1e3aa2a28558fab6850240465f973.zip op-kernel-dev-54e7ed12bad1e3aa2a28558fab6850240465f973.tar.gz |
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 b1807d4..6333702 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, INIT_LIST_HEAD(&blkg->q_node); blkg->blkcg = blkcg; blkg->refcnt = 1; - cgroup_path(blkcg->css.cgroup, blkg->path, sizeof(blkg->path)); for (i = 0; i < BLKCG_MAX_POLS; i++) { struct blkio_policy_type *pol = blkio_policy[i]; |