summaryrefslogtreecommitdiff
path: root/code_coverage/empty_policy/code_coverage.arm.policy
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2019-09-23 18:31:01 -0700
committerYifan Hong <elsk@google.com>2019-09-25 12:13:17 -0700
commit7d268a2bf38bdfd2fe5526d5b991ebe44e3aead0 (patch)
tree45bdbfd65f92a72d9cd5631b2664c276bca6f190 /code_coverage/empty_policy/code_coverage.arm.policy
parent59de9131eed76e67cc06c3b3bda918424d69f570 (diff)
libsnapshot: CreateUpdateSnapshots reuse COW space
At the second update for Virtual A/B device, PartitionCowCreator thinks the COW partitions in the existing super metadata as occupied. In fact, these partitions aren't used after the merge. Now, unmap these partitions from the device mapper. If something bad happens and the previous update has not been merged yet, the unmap will fail. Then, delete these old COW partitions from the device. Test: Virtual A/B update twice Bug: 135752105 Change-Id: Iab867ded19755089e6e0800e553a10fbcddbb931
Diffstat (limited to 'code_coverage/empty_policy/code_coverage.arm.policy')
0 files changed, 0 insertions, 0 deletions