projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'icc-sc8180x' into icc-next
[linux-2.6-microblaze.git]
/
block
/
blk-ioc.c
diff --git
a/block/blk-ioc.c
b/block/blk-ioc.c
index
11f49f7
..
df9cfe4
100644
(file)
--- a/
block/blk-ioc.c
+++ b/
block/blk-ioc.c
@@
-280,7
+280,6
@@
int set_task_ioprio(struct task_struct *task, int ioprio)
task_lock(task);
if (task->flags & PF_EXITING) {
- err = -ESRCH;
kmem_cache_free(iocontext_cachep, ioc);
goto out;
}
@@
-292,7
+291,7
@@
int set_task_ioprio(struct task_struct *task, int ioprio)
task->io_context->ioprio = ioprio;
out:
task_unlock(task);
- return
err
;
+ return
0
;
}
EXPORT_SYMBOL_GPL(set_task_ioprio);