commit | 1a5e94f9f9479e93369867712d823f3a849f6fa8 | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Wed Aug 07 15:52:30 2019 -0700 |
committer | David Anderson <dvander@google.com> | Wed Aug 07 18:42:22 2019 -0700 |
tree | 4766e7bd78b91da01ead6e717d095f98eed9bfa1 | |
parent | 293d3c69e29dc76a0c420da7dbd5c2a16d541d48 [diff] |
libsnapshot: Unmap COW devices when deleting snapshots. When we stopped unmapping snapshots in DeleteSnapshot, this also stopped unmapping the COW device. Of course, the caller has no way to unmap this since it's an implementation detail. Therefore unmap it in DeleteSnapshot. This scenario can arise after rewriting or removing a snapshot-merge device. Bug: 136678799 Test: manual test Change-Id: I9d4c8bcfbb95b4454edd1cf0853d51b441e895fa