commit | 391086908c8636f721e2cde87e92ce1ae8af899a | [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 | 405e67b651dae1d8966c63631d6761e907a94421 [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>