]> sourceware.org Git - lvm2.git/commit
Add lvm_{pv|vg|lv}_get_{uuid|name}.
authorDave Wysochanski <dwysocha@redhat.com>
Thu, 23 Jul 2009 23:40:05 +0000 (23:40 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Thu, 23 Jul 2009 23:40:05 +0000 (23:40 +0000)
commit557f2870058d1a3a5eeb4152745cd68cc2b24295
tree3278683e340771c25c7c2d56819430c567cf4f03
parent75481125785de927270f819400a94b792b876f12
Add lvm_{pv|vg|lv}_get_{uuid|name}.

Caller must free the memory of the uuid / name returned.
This may not be the best memory management policy since it may lead to
memory leaks if the caller has code like this:
if (!lvm_vg_get_name(vg))

Maybe we don't care - if we do we can use pools tied to handles later
or some other scheme.

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
Acked-by: Thomas Woerner <twoerner@redhat.com>
liblvm/.exported_symbols
liblvm/Makefile.in
liblvm/lvm.h
liblvm/lvm_lv.c [new file with mode: 0644]
liblvm/lvm_pv.c [new file with mode: 0644]
liblvm/lvm_vg.c
This page took 0.040262 seconds and 5 git commands to generate.