commit | a623108ef40143e04e3e765a057981a439ff3cd2 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri May 15 18:34:24 2015 -0700 |
committer | Elliott Hughes <enh@google.com> | Fri May 15 18:34:24 2015 -0700 |
tree | 56f9a22f76eb0754c20349c4f105333d12173d29 | |
parent | 74e6349d8e4dde988c121e9674472908cc8c748d [diff] [blame] |
Don't use TEMP_FAILURE_RETRY on close in vold. Bug: http://b/20501816 Change-Id: Ieecce9304539c250ed1728252b8c2c09d29afd7f
diff --git a/Utils.cpp b/Utils.cpp index f45907a..0b8ccfd 100644 --- a/Utils.cpp +++ b/Utils.cpp
@@ -328,7 +328,7 @@ out.append(buf, n); bytes -= n; } - TEMP_FAILURE_RETRY(close(fd)); + close(fd); if (bytes == 0) { return OK;