commit | 5d1da9a8513adc50b8b0a51b0015f467ede79f24 | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Tue Aug 06 14:55:54 2019 -0700 |
committer | David Anderson <dvander@google.com> | Tue Aug 06 18:16:04 2019 -0700 |
tree | ed1c36f7088508e18320923a86d2968b4f49e9c6 | |
parent | 7a4056f635f74cb60c8b3d63d6648de2c82d44e9 [diff] |
libsnapshot: Don't force-unmap in DeleteSnapshot(). It is hard to re-use this function in the merge code when it forcefully unmaps the snapshot, because the snapshot may have been rewritten to be a dm-linear device. Instead, leave the decision up to the caller. Bug: 136678799 Test: libsnapshot_test gtest Change-Id: I03c027c0781696885a5a5654d3049287cc16ecd0