From 7d59e27f37c484c88ebcee2baba1eabd5c38b5ec Mon Sep 17 00:00:00 2001 From: Jiufei Xue Date: Thu, 5 Dec 2019 16:20:11 +0800 Subject: [PATCH] alinux: iocost: rename weight to cost.weight to avoid conflict with cfq Signed-off-by: Jiufei Xue Reviewed-by: Joseph Qi --- block/blk-iocost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-iocost.c b/block/blk-iocost.c index 6cecba8e4fe0..3d2d29977034 100644 --- a/block/blk-iocost.c +++ b/block/blk-iocost.c @@ -2524,7 +2524,7 @@ static int ioc_cost_print_stat(struct seq_file *sf, void *v) static struct cftype ioc_files[] = { { - .name = "weight", + .name = "cost.weight", .flags = CFTYPE_NOT_ON_ROOT, .seq_show = ioc_weight_show, .write = ioc_weight_write, -- GitLab