diff options
author | Nikita Ioffe <ioffe@google.com> | 2020-04-20 17:38:17 +0100 |
---|---|---|
committer | Nikita Ioffe <ioffe@google.com> | 2020-04-20 21:08:25 +0100 |
commit | bcaeb70d80ff3f6f708beea6a70b70fb5ffa5154 (patch) | |
tree | 2938ccbe671e879f5cbb20938ac14b8001579cb2 /trusty/coverage/coverage.cpp | |
parent | 4a0a6faa08b79d8bbdf1460d4634d2ebbde46542 (diff) |
PrepareZramBackingDevice: use loop_control.h
loop_control.h already provides loop device management APIs that we need
here. In addition, this change fixes a subtle race condition between
uevented creating a loop device node in userspace and
PrepareZramBackingDevice accessing it without waiting for it to be
created.
Test: device boots
Test: adb reboot userspace
Bug: 154500256
Change-Id: If80f18c8c337210030a6caf2aec6f7a47472b6fb
Merged-In: If80f18c8c337210030a6caf2aec6f7a47472b6fb
(cherry picked from commit c8313adf883f6c0d74718dbc4603adacd62ec16b)
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions