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