summaryrefslogtreecommitdiff
path: root/libutils/FileMap_test.cpp
diff options
context:
space:
mode:
authorNikita Ioffe <ioffe@google.com>2020-04-20 17:38:17 +0100
committerNikita Ioffe <ioffe@google.com>2020-04-20 17:38:17 +0100
commitc8313adf883f6c0d74718dbc4603adacd62ec16b (patch)
tree66ce90af3724ee2ebffd8a5502aed826a187098f /libutils/FileMap_test.cpp
parent8ee349bdbd75f8d92fbe25ebd9d7a96979da852b (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
Diffstat (limited to 'libutils/FileMap_test.cpp')
0 files changed, 0 insertions, 0 deletions