mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +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
9e06310aab
commit
9b30dfb967
@ -43,8 +43,8 @@ struct volume_group {
|
|||||||
uint64_t status;
|
uint64_t status;
|
||||||
|
|
||||||
struct id id;
|
struct id id;
|
||||||
char *name;
|
const char *name;
|
||||||
char *old_name; /* Set during vgrename and vgcfgrestore */
|
const char *old_name; /* Set during vgrename and vgcfgrestore */
|
||||||
char *system_id;
|
char *system_id;
|
||||||
|
|
||||||
uint32_t extent_size;
|
uint32_t extent_size;
|
||||||
|
Loading…
Reference in New Issue
Block a user