diff options
author | Chao Yu <[email protected]> | 2015-04-23 10:47:44 -0600 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2015-04-23 10:47:44 -0600 |
commit | 8406a4d56ea94d1d91f62cab3bed15399bac73cb (patch) | |
tree | ef5319354f305374ff5b67f2fbee019a1dc5c587 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 464d1387acb94dc43ba772b35242345e3d2ead1b (diff) |
elevator: fix double release of elevator module
Our issue is descripted in below call path:
->elevator_init
->elevator_init_fn
->{cfq,deadline,noop}_init_queue
->elevator_alloc
->kzalloc_node
fail to call kzalloc_node and then put module in elevator_alloc;
fail to call elevator_init_fn and then put module again in elevator_init.
Remove elevator_put invoking in error path of elevator_alloc to avoid
double release issue.
Signed-off-by: Chao Yu <[email protected]>
Reviewed-by: Jeff Moyer <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions