f2fs: fix checkpoint=disable:%u%%
authorJaegeuk Kim <jaegeuk@kernel.org>
Sat, 16 May 2020 00:20:50 +0000 (17:20 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jun 2020 07:33:12 +0000 (09:33 +0200)
commit98a27816066d658712ecca3c82c2d921f5492c77
tree4a9c047513889266ec0324ed64cff71f930df1d9
parent77fb2cd99caec5885382753876448bec416aefb2
f2fs: fix checkpoint=disable:%u%%

commit 1ae18f71cb522684bac1718f5c188fb5e30eb23d upstream.

When parsing the mount option, we don't have sbi->user_block_count.
Should do it after getting it.

Cc: <stable@vger.kernel.org>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/f2fs/f2fs.h
fs/f2fs/super.c