commit | f734741e3d7e71111b4ecb404bcec8d90f36f389 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Thu Dec 28 14:13:38 2017 -0800 |
committer | Josh Gao <jmgao@google.com> | Thu Dec 28 14:19:57 2017 -0800 |
tree | 8305dfbda178ee8a3526bc7dc8d673d3bbd7d158 | |
parent | 46a33e93c8e8a48cb5aba8e07cda315ee4d3e25c [diff] |
Don't TEMP_FAILURE_RETRY on close. close always succeeds, even if it was interrupted and "fails" with EINTR. Retrying will either close a nonexistent fd or stomp on another thread's newly opened file descriptor. Bug: http://b/20501816 Test: treehugger Change-Id: I706d5e8027e60b13f23f9488fdf5cf7cef7b3d3b