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
Loading
Please register or sign in to comment