diff options
author | Josh Gao <jmgao@google.com> | 2017-10-03 12:51:54 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2017-10-04 00:43:57 -0700 |
commit | 432e5b6b5d0cbd86e154f8efe5237028d599ede6 (patch) | |
tree | a070c15e491d7254e831d059e9e209ef8d76cd21 /test/ProfileTestMultiDex/Second.java | |
parent | 388bae7477704fd562c00671e0835b64071de710 (diff) |
fd_file: don't report failure when trying to flush a pipe.
At least one user of FdFile (SignalCatcher) will attempt to create an
FdFile with either a real file or a pipe. When it does so with a pipe,
fdatasync fails in Flush(), causing a bunch of spurious logging to be
emitted. Check to see if the file we're flushing is actually a file
before calling fdatasync.
Bug: 67327501
Test: fd_file_test on host
Change-Id: I70103fb20f4fceb36a806c4fd530a0a77c328a96
(cherry picked from commit 494ec696f978ebd699efd32a6f25bcb83770d1fd)
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions