aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/checkpoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/f2fs/checkpoint.c')
-rw-r--r--fs/f2fs/checkpoint.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c
index 19021414d195..22165fb1d0d1 100644
--- a/fs/f2fs/checkpoint.c
+++ b/fs/f2fs/checkpoint.c
@@ -1067,6 +1067,8 @@ void write_checkpoint(struct f2fs_sb_info *sbi, struct cp_control *cpc)
1067 goto out; 1067 goto out;
1068 if (unlikely(f2fs_cp_error(sbi))) 1068 if (unlikely(f2fs_cp_error(sbi)))
1069 goto out; 1069 goto out;
1070 if (f2fs_readonly(sbi->sb))
1071 goto out;
1070 if (block_operations(sbi)) 1072 if (block_operations(sbi))
1071 goto out; 1073 goto out;
1072 1074