1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-23 21:35:29 +03:00
lvm2/liblvm
Dave Wysochanski 2201a47d95 Add lvm_vg_reduce to liblvm2app
Extend lvm_vg_write to remove pvs removed in lvm_vg_reduce. The lvm
volume_group internal structure removed_pvs is used for that. The list is
empty afterwards.

Add new test for vg->pvs emptyness to lvm_vg_write to prevent to write empty
vgs. This is needed because of lvm_vg_reduce and lv_vg_create, which creates
empty vgs.

Signed-off-by: Thomas Woerner <twoerner@redhat.com>
Acked-by: Dave Wysochanski <dwysocha@redhat.com>


Author: Dave Wysochanski <dwysocha@redhat.com>
2009-07-27 17:44:29 +00:00
..
.exported_symbols Add lvm_vg_reduce to liblvm2app 2009-07-27 17:44:29 +00:00
liblvm2app.pc.in check in the correct pkgconfig file 2009-07-23 01:41:53 +00:00
lvm_base.c Rename lvm_reload_config to lvm_config_reload. 2009-07-27 10:18:51 +00:00
lvm_lv.c Add lvm_lv_is_active and lvm_lv_is_suspended. 2009-07-26 20:58:11 +00:00
lvm_pv.c Add most all liblvm 'get' functions needed for anaconda. 2009-07-26 13:06:59 +00:00
lvm_vg.c Add lvm_vg_reduce to liblvm2app 2009-07-27 17:44:29 +00:00
lvm.h Add lvm_vg_reduce to liblvm2app 2009-07-27 17:44:29 +00:00
Makefile.in Add lvm_{pv|vg|lv}_get_{uuid|name}. 2009-07-23 23:40:05 +00:00