LVM2/lib/metadata vg.h
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at 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
lib/metadata/vg.h +2 -2
@@ -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;