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)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 2 Nov 2022 00:56:04 +0000 (17:56 -0700)
commit7b02b2201893a71b881026cf574902019ab00db5
treef993945b93e191fa3592db49ffc696cf55945515
parent146dbcbf17a6d07169e75224d949cc2670de2e20
f2fs: fix to destroy sbi->post_read_wq in error path of f2fs_fill_super()

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: 261eeb9c1585 ("f2fs: introduce checkpoint_merge mount option")
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c