commit | bc3957183c052b6f4493fcde0d7d6cdc65adce6c | [log] [tgz] |
---|---|---|
author | Alessio Balsini <balsini@google.com> | Wed Oct 16 20:48:55 2019 +0100 |
committer | Alessio Balsini <balsini@google.com> | Wed Oct 16 21:01:58 2019 +0100 |
tree | a2d60cab34f84ba5c8cd17c4dbae666a63817ab3 | |
parent | 1a2d100a126bd9baf194d04c655f6d493d79afe4 [diff] |
libsnapshot: MapCowImage returns the COW device path When a device is not dm-mapped, the whole path of the newly generated COW device is required. This was causing some of the libsnapshot_test cases to fail. Fix by making MapCowImage() optionally return the COW device path. Fixes: 142800685 Test: libsnapshot_test Change-Id: I9570b4254d47b2d8fc942053590a320dcb20f7d5 Signed-off-by: Alessio Balsini <balsini@google.com>