f2fs: fix return val in f2fs_start_ckpt_thread()
authorYangtao Li <frank.li@vivo.com>
Thu, 27 Oct 2022 10:24:46 +0000 (18:24 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 2 Nov 2022 00:56:04 +0000 (17:56 -0700)
commit146dbcbf17a6d07169e75224d949cc2670de2e20
treec6c632ea40ed63be6c0ffadf4c5dc1800dd651a0
parent195623f2d8e9361eaddec071ad298998ec0590ba
f2fs: fix return val in f2fs_start_ckpt_thread()

Return PTR_ERR(cprc->f2fs_issue_ckpt) instead of -ENOMEM;

Signed-off-by: Yangtao Li <frank.li@vivo.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/gc.c
fs/f2fs/segment.c