]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/ioprio.c
ath6kl: logical continuations should be on the previous line
[karo-tx-linux.git] / fs / ioprio.c
index 998ec239d1ea27a21c7fdd2b835c4e35c198667b..f84b380d65e5d1a1898248bdb7a77dd3bc8b5aa4 100644 (file)
@@ -50,9 +50,8 @@ 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;
-               put_io_context(ioc);
+               ioc_ioprio_changed(ioc, ioprio);
+               put_io_context(ioc, NULL);
        }
 
        return err;