On 2017/10/17 15:03, Yunlei He wrote:
> 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
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
---
fsck/mount.c