diff options
author | 2019-04-30 22:02:25 +0800 | |
---|---|---|
committer | 2019-04-30 08:20:46 -0600 | |
commit | cdca22bcbc64fc83dadb8d927df400a8d86ddabb (patch) | |
tree | 4dc562ec8fb0d7e8eb424930daf581647049a82b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'nvme-5.2' of git://git.infradead.org/nvme into for-5.2/block (diff) | |
download | linux-rng-cdca22bcbc64fc83dadb8d927df400a8d86ddabb.tar.xz linux-rng-cdca22bcbc64fc83dadb8d927df400a8d86ddabb.zip |
bcache: remove redundant LIST_HEAD(journal) from run_cache_set()
Commit 95f18c9d1310 ("bcache: avoid potential memleak of list of
journal_replay(s) in the CACHE_SYNC branch of run_cache_set") forgets
to remove the original define of LIST_HEAD(journal), which makes
the change no take effect. This patch removes redundant variable
LIST_HEAD(journal) from run_cache_set(), to make Shenghui's fix
working.
Fixes: 95f18c9d1310 ("bcache: avoid potential memleak of list of journal_replay(s) in the CACHE_SYNC branch of run_cache_set")
Reported-by: Juha Aatrokoski <juha.aatrokoski@aalto.fi>
Cc: 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