OSDN Git Service
(root)
/
android-x86
/
system-extras.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c152bb4
)
Don't use TEMP_FAILURE_RETRY with close in system/extras.
author
Elliott Hughes
<enh@google.com>
Sat, 16 May 2015 00:20:47 +0000
(17:20 -0700)
committer
Elliott 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
patch
|
blob
|
history
diff --git
a/squashfs_utils/squashfs_utils.c
b/squashfs_utils/squashfs_utils.c
index
128a3ef
..
6189189
100644
(file)
--- a/
squashfs_utils/squashfs_utils.c
+++ b/
squashfs_utils/squashfs_utils.c
@@
-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;
}