Commit c4ea41c3 authored by Przemyslaw Szczepaniak's avatar Przemyslaw Szczepaniak
Browse files

RandomAccessFile should use O_SYNC/O_DSYNC for rws/rwd

Removed unescessary changes on the top of RandomAccessFile that
used explicit FileDescriptor.sync() to implement rws/rwd
modes. rws/rwd can be safly implememented using O_SYNC and
O_DSYNC flags.

Test: CtsLibcoreTestCases
Bug: 37996859
Change-Id: I9801589e1a99fc30564b144eba8d17db61e7ffd2
parent b5fbb944
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment