public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2/lib/metadata vg.h
@ 2011-08-10 20:26 zkabelac
0 siblings, 0 replies; 2+ messages in thread
From: zkabelac @ 2011-08-10 20:26 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac@sourceware.org 2011-08-10 20:26:41
Modified files:
lib/metadata : vg.h
Log message:
Just add new lines between header comment
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/vg.h.diff?cvsroot=lvm2&r1=1.13&r2=1.14
--- LVM2/lib/metadata/vg.h 2011/08/10 20:25:30 1.13
+++ LVM2/lib/metadata/vg.h 2011/08/10 20:26:41 1.14
@@ -139,10 +139,12 @@
uint32_t vg_mda_used_count(const struct volume_group *vg);
uint32_t vg_mda_copies(const struct volume_group *vg);
int vg_set_mda_copies(struct volume_group *vg, uint32_t mda_copies);
+
/*
* Returns visible LV count - number of LVs from user perspective
*/
unsigned vg_visible_lvs(const struct volume_group *vg);
+
/*
* Count snapshot LVs.
*/
^ permalink raw reply [flat|nested] 2+ messages in thread
* LVM2/lib/metadata vg.h
@ 2010-12-20 13:40 zkabelac
0 siblings, 0 replies; 2+ messages in thread
From: zkabelac @ 2010-12-20 13:40 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac@sourceware.org 2010-12-20 13:40:46
Modified files:
lib/metadata : vg.h
Log message:
Use const char * for name and old_name in vg
Switch to use const char pointers to avoid changes of these structure
members and having better control over, were these members could
be modified.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/vg.h.diff?cvsroot=lvm2&r1=1.8&r2=1.9
--- LVM2/lib/metadata/vg.h 2010/11/09 12:34:43 1.8
+++ LVM2/lib/metadata/vg.h 2010/12/20 13:40:46 1.9
@@ -43,8 +43,8 @@
uint64_t status;
struct id id;
- char *name;
- char *old_name; /* Set during vgrename and vgcfgrestore */
+ const char *name;
+ const char *old_name; /* Set during vgrename and vgcfgrestore */
char *system_id;
uint32_t extent_size;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-10 20:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-10 20:26 LVM2/lib/metadata vg.h zkabelac
-- strict thread matches above, loose matches on Subject: below --
2010-12-20 13:40 zkabelac
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).