Don't use TEMP_FAILURE_RETRY on close in vold.

Bug: http://b/20501816
Change-Id: Ia0a3899947582b8dd0e8e185c203d1ad7dad572e
This commit is contained in:
Elliott Hughes 2015-05-28 22:02:14 -07:00
parent 65427f1a80
commit 4e378be81e
2 changed files with 531 additions and 531 deletions

File diff suppressed because it is too large Load diff

View file

@ -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);