Displaying 2 results from an estimated 2 matches for "4f02206".
2016 Jul 08
0
[PATCHv2 2/3] lvm: modify guestfs_is_lv to take mountable
...rror.
Here we workaround it by taking Mountable instead of Device
and returning 'false' for non-device mountables.
---
daemon/lvm.c | 6 ++++--
generator/actions.ml | 6 +++---
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/daemon/lvm.c b/daemon/lvm.c
index 2b61357..4f02206 100644
--- a/daemon/lvm.c
+++ b/daemon/lvm.c
@@ -863,9 +863,11 @@ lv_canonical (const char *device, char **ret)
/* Test if a device is a logical volume (RHBZ#619793). */
int
-do_is_lv (const char *device)
+do_is_lv (const mountable_t *mountable)
{
- return lv_canonical (device, NULL);
+ if (m...
2016 Jul 08
4
[PATCHv2 0/3] fix btrfs subvolume procession in tools
sparsify case: modified guestfs_is_lv
mllib: fixed is_btrfs_subvolume
Maxim Perevedentsev (3):
mllib: add checking for btrfs subvolume
lvm: modify guestfs_is_lv to take mountable
sysprep: fix btrfs subvolume processing in fs-uuids
daemon/lvm.c | 6 ++++--
generator/actions.ml | 6 +++---
mllib/common_utils.ml | 7 +++++++