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

Commit a526a1e7 authored by Kenny Guy's avatar Kenny Guy
Browse files

Flush and sync before calling JournaledFile.commit

JournaledFile.commit on ext4 isn't atomic you need
to flush / sync before closing the file otherwise
you might end up with an empty file.

Bug: 19091744
Change-Id: Ia04784084053cc8ce338a13a61dc6d397610a006
parent 1480108d
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