commit | 24714e1c149d6a771757b772212354a857d1f676 | [log] [tgz] |
---|---|---|
author | Saurabh Shah <saurshah@quicinc.com> | Tue Sep 26 17:58:19 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Tue Sep 26 17:58:19 2017 +0000 |
tree | dc3cc98d88c2348a9c0fab7054137dce374fe566 | |
parent | 8ade95d0ac596afc6d5e8672503ae689494ee439 [diff] | |
parent | a7e750c9cc1ea12d07248cc8d3be0634de996d1e [diff] |
Merge "sync: store the num_fences from first SYNC_IOC_FILE_INFO" am: f7d14b643b Change-Id: I9c5ecaa30d4b08aa1eb327375c562dff6f78263e
diff --git a/libsync/sync.c b/libsync/sync.c index e657658..6b187fa 100644 --- a/libsync/sync.c +++ b/libsync/sync.c
@@ -217,6 +217,8 @@ local_info.num_fences * sizeof(struct sync_fence_info)); if (!info) return NULL; + + info->num_fences = local_info.num_fences; info->sync_fence_info = (__u64)(uintptr_t)(info + 1); err = ioctl(fd, SYNC_IOC_FILE_INFO, info);