diff options
author | David Anderson <dvander@google.com> | 2019-08-06 14:55:54 -0700 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2019-08-06 18:16:04 -0700 |
commit | aefb3b17fb3de87c859101cb551628f6d9fd8e63 (patch) | |
tree | ed1c36f7088508e18320923a86d2968b4f49e9c6 /base/errors_unix.cpp | |
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
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions