diff options
author | 2019-04-25 00:48:42 +0800 | |
---|---|---|
committer | 2019-04-24 10:56:29 -0600 | |
commit | f16277ca20acf2c213fcd4b645f4c1cffcadf533 (patch) | |
tree | 3d8968274c543f74610194f4974644d276d5d1c2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bcache: fix failure in journal relplay (diff) | |
download | linux-rng-f16277ca20acf2c213fcd4b645f4c1cffcadf533.tar.xz linux-rng-f16277ca20acf2c213fcd4b645f4c1cffcadf533.zip |
bcache: fix wrong usage use-after-freed on keylist in out_nocoalesce branch of btree_gc_coalesce
Elements of keylist should be accessed before the list is freed.
Move bch_keylist_free() calling after the while loop to avoid wrong
content accessed.
Signed-off-by: Shenghui Wang <shhuiw@foxmail.com>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions