Don't use TEMP_FAILURE_RETRY on close in vold.
Bug: http://b/20501816
Change-Id: Ia0a3899947582b8dd0e8e185c203d1ad7dad572e
diff --git a/bench/benchgen.py b/bench/benchgen.py
index 33964dd..077336c 100644
--- a/bench/benchgen.py
+++ b/bench/benchgen.py
@@ -187,7 +187,7 @@
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 @@
nread += 1
for handle in active:
- print >>bench, 'TEMP_FAILURE_RETRY(close(%s));' % (handle)
+ print >>bench, 'close(%s);' % (handle)
print >>bench, """
free(buf);