f2fs: clean up zones when not successfully unmounted
authorDaeho Jeong <daehojeong@google.com>
Tue, 10 Oct 2023 19:36:28 +0000 (12:36 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 16 Oct 2023 19:51:32 +0000 (12:51 -0700)
commit9f792ab8e33de727993bbd84ece892e72de18c85
tree2155196b63b59b215600f27203c6597a82fd1746
parent6f560c0f2aa00a3627c748aa0b194b81e99db5d7
f2fs: clean up zones when not successfully unmounted

We can't trust write pointers when the previous mount was not
successfully unmounted.

Signed-off-by: Daeho Jeong <daehojeong@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c