summaryrefslogtreecommitdiffstats
path: root/liblvm/lvm_vg.c
diff options
context:
space:
mode:
Diffstat (limited to 'liblvm/lvm_vg.c')
-rw-r--r--liblvm/lvm_vg.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/liblvm/lvm_vg.c b/liblvm/lvm_vg.c
index 4addc1cf..9a5c2392 100644
--- a/liblvm/lvm_vg.c
+++ b/liblvm/lvm_vg.c
@@ -315,19 +315,14 @@ char *lvm_vg_get_name(const vg_t vg)
return name;
}
-/*
- * FIXME: These functions currently return hidden VGs. We should either filter
- * these out and not return them in the list, or export something like
- * is_orphan_vg and tell the caller to filter.
- */
struct dm_list *lvm_list_vg_names(lvm_t libh)
{
- return get_vgnames((struct cmd_context *)libh, 0);
+ return get_vgnames((struct cmd_context *)libh, 0, 0);
}
struct dm_list *lvm_list_vg_uuids(lvm_t libh)
{
- return get_vgids((struct cmd_context *)libh, 0);
+ return get_vgids((struct cmd_context *)libh, 0, 0);
}
/*