diff options
author | Tejun Heo <tj@kernel.org> | 2012-03-19 18:10:59 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-03-20 07:47:48 -0400 |
commit | 2b566fa55b9a94b53217c2818e6c5e5756eeb1a1 (patch) | |
tree | d2186ebd18062172a7b0c83e31ca834f44ecdcc0 /fs/ioprio.c | |
parent | 598971bfbdfdc8701337dc1636c7919c44699914 (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 'fs/ioprio.c')
-rw-r--r-- | fs/ioprio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ioprio.c b/fs/ioprio.c index 0f1b9515213b..48644373de58 100644 --- a/fs/ioprio.c +++ b/fs/ioprio.c | |||
@@ -50,7 +50,7 @@ int set_task_ioprio(struct task_struct *task, int ioprio) | |||
50 | 50 | ||
51 | ioc = get_task_io_context(task, GFP_ATOMIC, NUMA_NO_NODE); | 51 | ioc = get_task_io_context(task, GFP_ATOMIC, NUMA_NO_NODE); |
52 | if (ioc) { | 52 | if (ioc) { |
53 | ioc_ioprio_changed(ioc, ioprio); | 53 | ioc->ioprio = ioprio; |
54 | put_io_context(ioc); | 54 | put_io_context(ioc); |
55 | } | 55 | } |
56 | 56 | ||