commit | aefb3b17fb3de87c859101cb551628f6d9fd8e63 | [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 | 0d061b258a4851741a3ec18b580f93300e4a7c26 [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