diff options
author | Vivek Goyal <vgoyal@redhat.com> | 2010-09-15 17:06:32 -0400 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-09-16 02:40:42 -0400 |
commit | af41d7bd9b685ab4e8f930627874ba4f4728e128 (patch) | |
tree | f91be30499efd1c39a3417cb19186ecca261ebe2 | |
parent | 38b6f45a97bbb8536cc7d095b577f580bd4d643e (diff) |
blk-cgroup: Kill the header printed at the start of blkio.weight_device file
o Kill extra "dev weight" header which is printed when somebody reads
blkio.weight_device file. This really seems to be out of convention. No other
blkio files are printing any header at the start of file. I think it is ok
to just print values and how to interpret values should be part of
documentation.
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
-rw-r--r-- | block/blk-cgroup.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c index a6809645d212..c1a39d90d14a 100644 --- a/block/blk-cgroup.c +++ b/block/blk-cgroup.c | |||
@@ -811,8 +811,6 @@ static int blkiocg_weight_device_read(struct cgroup *cgrp, struct cftype *cft, | |||
811 | struct blkio_cgroup *blkcg; | 811 | struct blkio_cgroup *blkcg; |
812 | struct blkio_policy_node *pn; | 812 | struct blkio_policy_node *pn; |
813 | 813 | ||
814 | seq_printf(m, "dev\tweight\n"); | ||
815 | |||
816 | blkcg = cgroup_to_blkio_cgroup(cgrp); | 814 | blkcg = cgroup_to_blkio_cgroup(cgrp); |
817 | if (!list_empty(&blkcg->policy_list)) { | 815 | if (!list_empty(&blkcg->policy_list)) { |
818 | spin_lock_irq(&blkcg->lock); | 816 | spin_lock_irq(&blkcg->lock); |