[Devel] [PATCH rh7 7/7] ub: do not include block/blk-cgroup.h from io_prio.c

Vladimir Davydov vdavydov at parallels.com
Tue Jun 9 07:06:48 PDT 2015


It is not needed.

Signed-off-by: Vladimir Davydov <vdavydov at parallels.com>
---
 kernel/bc/Makefile  | 2 --
 kernel/bc/io_prio.c | 1 -
 2 files changed, 3 deletions(-)

diff --git a/kernel/bc/Makefile b/kernel/bc/Makefile
index 6e9fa254dcda..5a50426b0c1d 100644
--- a/kernel/bc/Makefile
+++ b/kernel/bc/Makefile
@@ -12,6 +12,4 @@ obj-y := sys.o beancounter.o misc.o \
 # obj-$(CONFIG_NET) += net.o
 obj-$(CONFIG_BC_PROC)  += proc.o
 obj-$(CONFIG_BC_IO_ACCOUNTING) += io_acct.o
-
-CFLAGS_io_prio.o := -Iblock
 obj-$(CONFIG_BC_IO_PRIORITY) += io_prio.o
diff --git a/kernel/bc/io_prio.c b/kernel/bc/io_prio.c
index 69f2f79508e4..4febd1ba4ea3 100644
--- a/kernel/bc/io_prio.c
+++ b/kernel/bc/io_prio.c
@@ -12,7 +12,6 @@
 #include <linux/cgroup.h>
 #include <bc/beancounter.h>
 #include <bc/proc.h>
-#include "blk-cgroup.h"
 
 static unsigned int ioprio_weight[UB_IOPRIO_MAX] = {
 	320, 365, 410, 460, 500, 550, 600, 640,
-- 
2.1.4




More information about the Devel mailing list