Don't use TEMP_FAILURE_RETRY on close in vold.
Bug: http://b/20501816 Change-Id: Ia0a3899947582b8dd0e8e185c203d1ad7dad572e
This commit is contained in:
parent
65427f1a80
commit
4e378be81e
2 changed files with 531 additions and 531 deletions
1058
BenchmarkGen.h
1058
BenchmarkGen.h
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…
Reference in a new issue