diff options
author | Coly Li <colyli@suse.de> | 2019-04-30 22:02:25 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-01 08:26:09 +0200 |
commit | ad16dfef4a44ba71580af6e5cdc743c4796768ef (patch) | |
tree | fd3744ee8bac9ae0776415ad75f06c57c8131e53 /init/Makefile | |
parent | 08fdaee2d97bdd55e03308b563783b2612670e8b (diff) | |
download | linux-stable-ad16dfef4a44ba71580af6e5cdc743c4796768ef.tar.gz linux-stable-ad16dfef4a44ba71580af6e5cdc743c4796768ef.tar.bz2 linux-stable-ad16dfef4a44ba71580af6e5cdc743c4796768ef.zip |
bcache: remove redundant LIST_HEAD(journal) from run_cache_set()
[ Upstream commit cdca22bcbc64fc83dadb8d927df400a8d86ddabb ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'init/Makefile')
0 files changed, 0 insertions, 0 deletions