OSDN Git Service

Don't use TEMP_FAILURE_RETRY with close in system/extras.
authorElliott Hughes <enh@google.com>
Sat, 16 May 2015 00:20:47 +0000 (17:20 -0700)
committerElliott Hughes <enh@google.com>
Sat, 16 May 2015 01:11:26 +0000 (18:11 -0700)
Bug: http://b/20501816
Change-Id: I32123049314a30a255fdf1a76a0e00bd35ac8801
(cherry picked from commit 454b989922c7fb8e1411d06ee26ad7c4e6bc2abe)

squashfs_utils/squashfs_utils.c

index 128a3ef..6189189 100644 (file)
@@ -58,6 +58,6 @@ int squashfs_parse_sb(char *blk_device, struct squashfs_info *info) {
         sb.bytes_used + (4096 - (sb.bytes_used & (4096 - 1)));
 
 cleanup:
-    TEMP_FAILURE_RETRY(close(data_device));
+    close(data_device);
     return ret;
 }