]> sourceware.org Git - lvm2.git/commit
Add {pv|vg|lv}_attr_dup() functions and refactor 'disp' functions.
authorDave Wysochanski <dwysocha@redhat.com>
Thu, 30 Sep 2010 13:52:55 +0000 (13:52 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Thu, 30 Sep 2010 13:52:55 +0000 (13:52 +0000)
commit8e4da1d3976528b0dfef81f668eec0c9fb2a3d25
tree85053068f1f2d9cbb0a329dda5ae6699ad048b41
parent2977bfa721d7fc48af57cd27d2a65b98be0ed1ec
Add {pv|vg|lv}_attr_dup() functions and refactor 'disp' functions.

Move the creating of the 'attr' strings into a common function so
they can be called from the 'disp' functions as well as the new
'get' property functions.
Add "_dup" suffix to indicate memory is allocated.
Refactor pvstatus_disp to take pv argument and call pv_attr_dup().
lib/metadata/lv.c
lib/metadata/lv.h
lib/metadata/metadata.c
lib/metadata/metadata.h
lib/metadata/pv.c
lib/metadata/pv.h
lib/metadata/vg.c
lib/metadata/vg.h
lib/report/columns.h
lib/report/report.c
This page took 0.039945 seconds and 5 git commands to generate.