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 | e642d56cff9b705338fe7e639220f1491d3497ee (patch) | |
| tree | ede3164408ecf287743a7938dd61437ccccb4d92 /libutils/Unicode.cpp | |
| parent | 727ebd170f16632bb33b3ba8a0e13bf1603c4c95 (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
