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
perf test: Fix msan uninitialized use.
[linux-2.6-microblaze.git]
/
block
/
blk-cgroup.c
diff --git
a/block/blk-cgroup.c
b/block/blk-cgroup.c
index
619a79b
..
c195365
100644
(file)
--- a/
block/blk-cgroup.c
+++ b/
block/blk-cgroup.c
@@
-1152,13
+1152,15
@@
int blkcg_init_queue(struct request_queue *q)
if (preloaded)
radix_tree_preload_end();
if (preloaded)
radix_tree_preload_end();
- ret = blk_
iolatency
_init(q);
+ ret = blk_
throtl
_init(q);
if (ret)
goto err_destroy_all;
if (ret)
goto err_destroy_all;
- ret = blk_throtl_init(q);
- if (ret)
+ ret = blk_iolatency_init(q);
+ if (ret) {
+ blk_throtl_exit(q);
goto err_destroy_all;
goto err_destroy_all;
+ }
return 0;
err_destroy_all:
return 0;
err_destroy_all: