diff options
author | Josh Gao <jmgao@google.com> | 2017-10-03 12:51:54 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2017-10-03 14:04:54 -0700 |
commit | 494ec696f978ebd699efd32a6f25bcb83770d1fd (patch) | |
tree | 32a9701e31d1fd4325c40ff814f7b8d9bd0c3c10 /test/MultiDexModifiedSecondary | |
parent | 2dc2bcc09aff444fad4d0c0ae12458bde5716699 (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: http://b/67327501
Test: fd_file_test on host
Change-Id: I70103fb20f4fceb36a806c4fd530a0a77c328a96
Diffstat (limited to 'test/MultiDexModifiedSecondary')
0 files changed, 0 insertions, 0 deletions