am d25e1074: Merge "Don\'t use TEMP_FAILURE_RETRY on close in vold." into mnc-dev

* commit 'd25e10744026e85e86e22ace8ec939611be3f367':
  Don't use TEMP_FAILURE_RETRY on close in vold.
gugelfrei
Elliott Hughes 9 years ago committed by Android Git Automerger
commit bb68c6f576

File diff suppressed because it is too large Load Diff

@ -187,7 +187,7 @@ static status_t BenchmarkRun() {
fd, f, handle = extract_file(e, e.args[0])
if handle in active:
active.remove(handle)
print >>bench, 'TEMP_FAILURE_RETRY(close(%s));' % (handle)
print >>bench, 'close(%s);' % (handle)
elif e.call == "lseek":
fd, f, handle = extract_file(e, e.args[0])
@ -255,7 +255,7 @@ static status_t BenchmarkRun() {
nread += 1
for handle in active:
print >>bench, 'TEMP_FAILURE_RETRY(close(%s));' % (handle)
print >>bench, 'close(%s);' % (handle)
print >>bench, """
free(buf);

Loading…
Cancel
Save