diff options
Diffstat (limited to 'fs/f2fs/super.c')
-rw-r--r-- | fs/f2fs/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index ddb665f54d17..8c117649a035 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c | |||
@@ -112,7 +112,7 @@ static void f2fs_put_super(struct super_block *sb) | |||
112 | f2fs_destroy_stats(sbi); | 112 | f2fs_destroy_stats(sbi); |
113 | stop_gc_thread(sbi); | 113 | stop_gc_thread(sbi); |
114 | 114 | ||
115 | write_checkpoint(sbi, false, true); | 115 | write_checkpoint(sbi, true); |
116 | 116 | ||
117 | iput(sbi->node_inode); | 117 | iput(sbi->node_inode); |
118 | iput(sbi->meta_inode); | 118 | iput(sbi->meta_inode); |
@@ -136,7 +136,7 @@ int f2fs_sync_fs(struct super_block *sb, int sync) | |||
136 | return 0; | 136 | return 0; |
137 | 137 | ||
138 | if (sync) | 138 | if (sync) |
139 | write_checkpoint(sbi, false, false); | 139 | write_checkpoint(sbi, false); |
140 | else | 140 | else |
141 | f2fs_balance_fs(sbi); | 141 | f2fs_balance_fs(sbi); |
142 | 142 | ||