Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de335a89 authored by Chao Yu's avatar Chao Yu Committed by Jaegeuk Kim
Browse files

f2fs: trigger fdatasync for non-atomic_write file



commit 774e1b78a0f90a7e81f7a23d9ebfa8b8233c1ffa upstream.

Sqlite only cares about synchronization of file data instead of other data
unrelated attribute of inode, so in commit flow, call fdatasync is enough.

Signed-off-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 663305a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment