mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-12-04 00:31:25 +00:00
1797a5f092
We use f2fs_finalize_device to fsync previous data in checkpoint area before write last CP pack, in order to avoid cp corruption in sudden-power-off case. But this function will close the device, so this patch introduce a function to call fsync() only. Signed-off-by: Yunlei He <heyunlei@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> |
||
---|---|---|
.. | ||
libf2fs_io.c | ||
libf2fs_zoned.c | ||
libf2fs.c | ||
Makefile.am |