diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2023-12-02 20:15:41 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2023-12-05 02:18:03 +0100 |
commit | aca90eea8a90b1abc844504109b6f919dfbd4259 (patch) | |
tree | c7423ff42cc487f1a62835e3463c03c1b71e013d /fs/f2fs/super.c | |
parent | f2fs: fix write pointers on zoned device after roll forward (diff) | |
download | linux-aca90eea8a90b1abc844504109b6f919dfbd4259.tar.xz linux-aca90eea8a90b1abc844504109b6f919dfbd4259.zip |
f2fs: check write pointers when checkpoint=disable
Even if f2fs was rebooted as staying checkpoint=disable, let's match the write
pointers all the time.
Reviewed-by: Daeho Jeong <daehojeong@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/super.c')
-rw-r--r-- | fs/f2fs/super.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 617340e9ea7f..9a874b4d1501 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -4741,7 +4741,7 @@ try_onemore: #ifdef CONFIG_QUOTA f2fs_recover_quota_end(sbi, quota_enabled); #endif - +reset_checkpoint: /* * If the f2fs is not readonly and fsync data recovery succeeds, * check zoned block devices' write pointer consistency. @@ -4752,7 +4752,6 @@ try_onemore: goto free_meta; } -reset_checkpoint: f2fs_init_inmem_curseg(sbi); /* f2fs_recover_fsync_data() cleared this already */ |