f2fs: replace logical value "true" with a int number
authorZhang Qilong <zhangqilong3@huawei.com>
Mon, 29 Aug 2022 13:31:20 +0000 (21:31 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 13 Sep 2022 06:08:25 +0000 (23:08 -0700)
The "true" is not match the parametera type "int", and
we modify it.

Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c

index a505472..460048f 100644 (file)
@@ -481,7 +481,7 @@ do_sync:
 
                mutex_unlock(&sbi->flush_lock);
        }
-       f2fs_sync_fs(sbi->sb, true);
+       f2fs_sync_fs(sbi->sb, 1);
        stat_inc_bg_cp_count(sbi->stat_info);
 }