1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

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.
This commit is contained in:
Zdenek Kabelac 2010-12-20 13:40:46 +00:00
parent 6556fcc3fc
commit 2913ac8b4e

View File

@ -43,8 +43,8 @@ struct volume_group {
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;