f2fs: fix write pointers all the time
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 16 Feb 2024 21:23:30 +0000 (13:23 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 29 Feb 2024 16:34:35 +0000 (08:34 -0800)
commit4d4c5938933186a7eeff80b4f77c98dd583a98ea
treeec9cf5233884453745de9cfff078c19dbf71c7db
parent7af2df0f67a1469762e59be3726a803882d83f6f
f2fs: fix write pointers all the time

Even if the roll forward recovery stopped due to any error, we have to fix
the write pointers in order to mount the disk from the previous checkpoint.

Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/recovery.c
fs/f2fs/super.c