]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: fix to destroy sbi->post_read_wq in error path of f2fs_fill_super()
authorChao Yu <chao@kernel.org>
Fri, 28 Oct 2022 09:30:26 +0000 (17:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:32:31 +0000 (13:32 +0100)
commita80282f1ddf038d3433973a7aa208d9954466726
treef162bb4c14cda81d16d12484a8376d6e3c1087e6
parent713921d8becb7c5bf7e5071e20b9fbf717be73fa
f2fs: fix to destroy sbi->post_read_wq in error path of f2fs_fill_super()

[ Upstream commit 1684d6e7261ea6d71367d3aa797a58ff8b4b95c7 ]

In error path of f2fs_fill_super(), this patch fixes to call
f2fs_destroy_post_read_wq() once if we fail in f2fs_start_ckpt_thread().

Fixes: 50ad4e0e18d4 ("f2fs: introduce checkpoint_merge mount option")
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/f2fs/super.c