From 496c8d01fa4d971e9348727cfae9abf4e78d311d Mon Sep 17 00:00:00 2001 From: Dave Wysochanski Date: Sun, 26 Jul 2009 16:06:21 +0000 Subject: [PATCH] Rename lvm_list_vg_ids to lvm_list_vg_uuids. Author: Dave Wysochanski --- liblvm/.exported_symbols | 2 +- liblvm/lvm.h | 2 +- liblvm/lvm_vg.c | 2 +- test/api/test.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/liblvm/.exported_symbols b/liblvm/.exported_symbols index 4f98be7cc..496e2b9b7 100644 --- a/liblvm/.exported_symbols +++ b/liblvm/.exported_symbols @@ -28,6 +28,6 @@ lvm_errmsg lvm_vg_list_pvs lvm_vg_list_lvs lvm_list_vg_names -lvm_list_vg_ids +lvm_list_vg_uuids lvm_vg_create_lv_linear lvm_vg_remove_lv diff --git a/liblvm/lvm.h b/liblvm/lvm.h index 52e23f960..7d9069f70 100644 --- a/liblvm/lvm.h +++ b/liblvm/lvm.h @@ -336,7 +336,7 @@ struct dm_list *lvm_vg_list_pvs(vg_t *vg); * FIXME: handle list memory cleanup */ struct dm_list *lvm_list_vg_names(lvm_t libh); -struct dm_list *lvm_list_vg_ids(lvm_t libh); +struct dm_list *lvm_list_vg_uuids(lvm_t libh); /** * Scan all devices on the system for VGs and LVM metadata. diff --git a/liblvm/lvm_vg.c b/liblvm/lvm_vg.c index f4de00259..96084c844 100644 --- a/liblvm/lvm_vg.c +++ b/liblvm/lvm_vg.c @@ -247,7 +247,7 @@ struct dm_list *lvm_list_vg_names(lvm_t libh) return get_vgnames((struct cmd_context *)libh, 0); } -struct dm_list *lvm_list_vg_ids(lvm_t libh) +struct dm_list *lvm_list_vg_uuids(lvm_t libh) { return get_vgids((struct cmd_context *)libh, 0); } diff --git a/test/api/test.c b/test/api/test.c index 2517cb4e0..b2a504a3a 100644 --- a/test/api/test.c +++ b/test/api/test.c @@ -287,7 +287,7 @@ static void _list_vg_ids(lvm_t libh) struct lvm_str_list *strl; const char *tmp; - list = lvm_list_vg_ids(libh); + list = lvm_list_vg_uuids(libh); printf("VG uuids:\n"); dm_list_iterate_items(strl, list) { tmp = strl->str; -- 2.43.5