cifs: ensure that srv_mutex is held when dealing with ssocket pointer
[linux-3.10.git] / fs / ioprio.c
index 5e6dbe8..e50170c 100644 (file)
@@ -50,7 +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_changed(ioc, ioprio);
+               ioc->ioprio = ioprio;
                put_io_context(ioc);
        }