diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c index a3d02613934a4bb8e146099cf134ba975dcb1d88..f707d810c87d06157e45eabcc4e43cfbfba88a63 100644 --- a/fs/f2fs/recovery.c +++ b/fs/f2fs/recovery.c @@ -649,8 +649,6 @@ int recover_fsync_data(struct f2fs_sb_info *sbi, bool check_only) } clear_sbi_flag(sbi, SBI_POR_DOING); - if (err) - set_ckpt_flags(sbi, CP_ERROR_FLAG); mutex_unlock(&sbi->cp_mutex); /* let's drop all the directory inodes for clean checkpoint */