Skip to contentSkip to conversation

LVM2 liblvm/.exported_symbols liblvm/lvm.h lib ...

PATCH [email protected] 1 participant 1 message Jul 26, 2009

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: wysochanski at sourceware.org 2009-07-26 16:06:21

Modified files:
liblvm : .exported_symbols lvm.h lvm_vg.c
test/api : test.c

Log message:
Rename lvm_list_vg_ids to lvm_list_vg_uuids.

Author: Dave Wysochanski <[email protected]>

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/liblvm/.exported_symbols.diff?cvsroot=lvm2&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/liblvm/lvm.h.diff?cvsroot=lvm2&r1=1.17&r2=1.18
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/liblvm/lvm_vg.c.diff?cvsroot=lvm2&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/api/test.c.diff?cvsroot=lvm2&r1=1.10&r2=1.11

liblvm/.exported_symbols +1 -1
@@ -28,6 +28,6 @@
 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
liblvm/lvm.h +1 -1
@@ -336,7 +336,7 @@
  * 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.
liblvm/lvm_vg.c +1 -1
@@ -247,7 +247,7 @@
 	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);
 }
test/api/test.c +1 -1
@@ -287,7 +287,7 @@
 	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;