LVM2 ./WHATS_NEW include/.symlinks lib/metadat ...
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2009-07-29 13:26:02
Modified files:
. : WHATS_NEW include : .symlinks lib/metadata : metadata-exported.h metadata.c metadata.h liblvm : Makefile.in lvm_base.c lvm_lv.c lvm_pv.c
lvm_vg.c
Added files:
liblvm : lvm2app.h
Removed files:
liblvm : lvm.h
Log message:
Remove pv_t, vg_t & lv_t handles from lib. Only liblvm uses them. Rename lvm.h to lvm2app.h for now.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1208&r2=1.1209
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/include/.symlinks.diff?cvsroot=lvm2&r1=1.58&r2=1.59
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/metadata-exported.h.diff?cvsroot=lvm2&r1=1.105&r2=1.106
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/metadata.c.diff?cvsroot=lvm2&r1=1.273&r2=1.274
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/metadata.h.diff?cvsroot=lvm2&r1=1.196&r2=1.197
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/liblvm/lvm2app.h.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/liblvm/Makefile.in.diff?cvsroot=lvm2&r1=1.11&r2=1.12
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/liblvm/lvm_base.c.diff?cvsroot=lvm2&r1=1.11&r2=1.12
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/liblvm/lvm_lv.c.diff?cvsroot=lvm2&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/liblvm/lvm_pv.c.diff?cvsroot=lvm2&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/liblvm/lvm_vg.c.diff?cvsroot=lvm2&r1=1.23&r2=1.24
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/liblvm/lvm.h.diff?cvsroot=lvm2&r1=1.41&r2=NONE
WHATS_NEW +2 -0
@@ -1,5 +1,7 @@ Version 2.02.51 - ================================ + Remove pv_t, vg_t & lv_t handles from lib. Only liblvm uses them. + Rename lvm.h to lvm2app.h for now. Version 2.02.50 - 28th July 2009 ================================
include/.symlinks +1 -1
@@ -1,6 +1,6 @@ ../daemons/clvmd/clvm.h ../daemons/dmeventd/libdevmapper-event.h -../liblvm/lvm.h +../liblvm/lvm2app.h ../lib/activate/activate.h ../lib/activate/targets.h ../lib/cache/lvmcache.h
lib/metadata/metadata-exported.h +40 -41
149 lines not on this page · raw message
lib/metadata/metadata.c +71 -74
364 lines not on this page · raw message
lib/metadata/metadata.h +4 -4
@@ -368,11 +368,11 @@/* * Begin skeleton for external LVM library */ -struct id pv_id (const pv_t *pv); -const struct format_type *pv_format_type (const pv_t *pv); -struct id pv_vgid (const pv_t *pv); +struct id pv_id (const struct physical_volume *pv); +const struct format_type *pv_format_type (const struct physical_volume *pv); +struct id pv_vgid (const struct physical_volume *pv); -pv_t *pv_by_path (struct cmd_context *cmd,const char *pv_name); +struct physical_volume *pv_by_path (struct cmd_context *cmd,const char *pv_name);int add_pv_to_vg (struct volume_group *vg,const char *pv_name,struct physical_volume *pv);
/cvs/lvm2/LVM2/liblvm/lvm2app.h,v --> standard output revision 1.1
- renamed from liblvm/lvm2app.h +829 -0
829 lines not on this page · raw message
liblvm/Makefile.in +1 -1
@@ -62,7 +62,7 @@ install: $(INSTALL_TYPE) install_include install_include: - $(INSTALL) -D $(OWNER) $(GROUP) -m 444 lvm.h $(includedir)/lvm.h + $(INSTALL) -D $(OWNER) $(GROUP) -m 444 lvm2app.h $(includedir)/lvm2app.h install_dynamic: $(LIB_SHARED) $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< \
liblvm/lvm_base.c +1 -1
@@ -13,7 +13,7 @@*/ #include "lib.h" -#include "lvm.h" +#include "lvm2app.h" #include "toolcontext.h" #include "locking.h"
liblvm/lvm_lv.c +2 -2
@@ -13,7 +13,7 @@*/ #include "lib.h" -#include "lvm.h" +#include "lvm2app.h" #include "metadata-exported.h" #include "lvm-string.h" #include "defaults.h"
@@ -120,7 +120,7 @@ lvl =find_lv_in_vg (vg, name);if (!lvl)return NULL ; -return lvl->lv; +return (struct lv_t *) lvl->lv; }/*
liblvm/lvm_pv.c +1 -1
@@ -13,7 +13,7 @@*/ #include "lib.h" -#include "lvm.h" +#include "lvm2app.h" #include "metadata-exported.h" #include "lvm-string.h"
liblvm/lvm_vg.c +3 -3
@@ -13,7 +13,7 @@*/ #include "lib.h" -#include "lvm.h" +#include "lvm2app.h" #include "toolcontext.h" #include "metadata-exported.h" #include "archiver.h"
@@ -36,7 +36,7 @@return NULL ; } vg->open_mode ='w' ; -return vg; +return (vg_t *) vg; }int lvm_vg_extend (vg_t *vg,const char *device)
@@ -180,7 +180,7 @@/* FIXME: combine this with locking ? */ vg->open_mode = mode[0 ]; -return vg; +return (vg_t *) vg; }struct dm_list *lvm_vg_list_pvs (vg_t *vg)