]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/ioprio.c
block, cfq: move ioc ioprio/cgroup changed handling to cic
[mv-sheeva.git] / fs / ioprio.c
index 998ec239d1ea27a21c7fdd2b835c4e35c198667b..0f1b9515213b14e5f4c2e8606efea4ff1a8c2fc4 100644 (file)
@@ -50,8 +50,7 @@ int set_task_ioprio(struct task_struct *task, int ioprio)
 
        ioc = get_task_io_context(task, GFP_ATOMIC, NUMA_NO_NODE);
        if (ioc) {
-               ioc->ioprio = ioprio;
-               ioc->ioprio_changed = 1;
+               ioc_ioprio_changed(ioc, ioprio);
                put_io_context(ioc);
        }