aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2012-03-19 18:10:59 -0400
committerJens Axboe <axboe@kernel.dk>2012-03-20 07:47:48 -0400
commit2b566fa55b9a94b53217c2818e6c5e5756eeb1a1 (patch)
treed2186ebd18062172a7b0c83e31ca834f44ecdcc0 /include/linux
parent598971bfbdfdc8701337dc1636c7919c44699914 (diff)
block: remove ioc_*_changed()
After the previous patch to cfq, there's no ioc_get_changed() user left. This patch yanks out ioc_{ioprio|cgroup|get}_changed() and all related stuff. 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 'include/linux')
-rw-r--r--include/linux/iocontext.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/iocontext.h b/include/linux/iocontext.h
index 6f1a2608e91..df38db2ef45 100644
--- a/include/linux/iocontext.h
+++ b/include/linux/iocontext.h
@@ -6,11 +6,7 @@
6#include <linux/workqueue.h> 6#include <linux/workqueue.h>
7 7
8enum { 8enum {
9 ICQ_IOPRIO_CHANGED = 1 << 0,
10 ICQ_CGROUP_CHANGED = 1 << 1,
11 ICQ_EXITED = 1 << 2, 9 ICQ_EXITED = 1 << 2,
12
13 ICQ_CHANGED_MASK = ICQ_IOPRIO_CHANGED | ICQ_CGROUP_CHANGED,
14}; 10};
15 11
16/* 12/*
@@ -152,9 +148,6 @@ void put_io_context_active(struct io_context *ioc);
152void exit_io_context(struct task_struct *task); 148void exit_io_context(struct task_struct *task);
153struct io_context *get_task_io_context(struct task_struct *task, 149struct io_context *get_task_io_context(struct task_struct *task,
154 gfp_t gfp_flags, int node); 150 gfp_t gfp_flags, int node);
155void ioc_ioprio_changed(struct io_context *ioc, int ioprio);
156void ioc_cgroup_changed(struct io_context *ioc);
157unsigned int icq_get_changed(struct io_cq *icq);
158#else 151#else
159struct io_context; 152struct io_context;
160static inline void put_io_context(struct io_context *ioc) { } 153static inline void put_io_context(struct io_context *ioc) { }