diff options
author | Zhang Qilong <zhangqilong3@huawei.com> | 2022-08-29 21:31:20 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-09-12 23:08:25 -0700 |
commit | ddd3b16c8cc54ce776bf117bde0c4d588706ea49 (patch) | |
tree | 38b5aaef24e61bcd36a42019ff152d27da25a8ab /fs/f2fs | |
parent | da35fe96d12d15779f3cb74929b7ed03941cf983 (diff) |
f2fs: replace logical value "true" with a int number
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>
Diffstat (limited to 'fs/f2fs')
-rw-r--r-- | fs/f2fs/segment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index a5054725d0b6..460048f3c850 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -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); } |