OSDN Git Service
(root)
/
android-x86
/
system-vold.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74e6349
)
Don't use TEMP_FAILURE_RETRY on close in vold.
author
Elliott Hughes
<enh@google.com>
Sat, 16 May 2015 01:34:24 +0000
(18:34 -0700)
committer
Elliott Hughes
<enh@google.com>
Sat, 16 May 2015 01:34:24 +0000
(18:34 -0700)
Bug: http://b/
20501816
Change-Id: Ieecce9304539c250ed1728252b8c2c09d29afd7f
Utils.cpp
patch
|
blob
|
history
diff --git
a/Utils.cpp
b/Utils.cpp
index
f45907a
..
0b8ccfd
100644
(file)
--- a/
Utils.cpp
+++ b/
Utils.cpp
@@
-328,7
+328,7
@@
status_t ReadRandomBytes(size_t bytes, std::string& out) {
out.append(buf, n);
bytes -= n;
}
-
TEMP_FAILURE_RETRY(close(fd)
);
+
close(fd
);
if (bytes == 0) {
return OK;