diff options
author | David Anderson <dvander@google.com> | 2021-03-23 22:02:13 -0700 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2021-03-24 13:25:27 -0700 |
commit | bcd19ed73e2cf4038c91d48dd9deb2b87ac28a57 (patch) | |
tree | ede3164408ecf287743a7938dd61437ccccb4d92 /libutils/Unicode.cpp | |
parent | 4f898d4e332067e11f47056410284accc63f57a7 (diff) |
libsnapshot: Ensure we can remove bad snapshots when beginning an update.
If somehow we wind up with snapshots with a source suffix, we could wind
up trying to unmap an in-use partition. Detect this case and allow the
snapshot to be deleted without the unmap.
Bug: 183567503
Test: vts_libsnapshot_test
Change-Id: I87dd5bb3a7b9be59dede624924374ccc47b563c2
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions