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:
parent
6556fcc3fc
commit
2913ac8b4e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user