]> sourceware.org Git - lvm2.git/commit
Use vg->vgmem to allocate vg/lv/pv string properties instead of dm_malloc/fr
authorDave Wysochanski <dwysocha@redhat.com>
Mon, 19 Apr 2010 15:22:24 +0000 (15:22 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Mon, 19 Apr 2010 15:22:24 +0000 (15:22 +0000)
commit8fb6bd930be8d3d83c16e613a235562de66f0e3f
tree577524457bc67cc46efc392b7bfcde78ad9338b5
parentc7cc4b7ac2e6825931fa4fac349a6e89aac5d6b4
Use vg->vgmem to allocate vg/lv/pv string properties instead of dm_malloc/fr

Everywhere else in the API the caller can rely on lvm2app taking care of
memory allocation and free, so make the 'name' and 'uuid' properties of a
vg/lv/pv use the vg handle to allocate memory.

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
liblvm/lvm2app.h
liblvm/lvm_lv.c
liblvm/lvm_pv.c
liblvm/lvm_vg.c
This page took 0.035713 seconds and 5 git commands to generate.