commit | bcd19ed73e2cf4038c91d48dd9deb2b87ac28a57 | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Tue Mar 23 22:02:13 2021 -0700 |
committer | David Anderson <dvander@google.com> | Wed Mar 24 13:25:27 2021 -0700 |
tree | ede3164408ecf287743a7938dd61437ccccb4d92 | |
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