1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

cov: store 64b flags

Alhtough no target is currently using that many bits for their flags,
preserve the size for loaded segment internally.
This commit is contained in:
Zdenek Kabelac 2024-03-28 23:21:46 +01:00
parent 960df88621
commit 93a633092a
2 changed files with 2 additions and 2 deletions

View File

@ -171,7 +171,7 @@ struct load_segment {
uint32_t region_size; /* Mirror + raid */
unsigned clustered; /* Mirror */
unsigned mirror_area_count; /* Mirror */
uint32_t flags; /* Mirror + raid + Cache */
uint64_t flags; /* Mirror + Raid + Cache */
char *uuid; /* Clustered mirror log */
const char *policy_name; /* Cache */

View File

@ -162,7 +162,7 @@ struct load_segment {
uint32_t region_size; /* Mirror + raid */
unsigned clustered; /* Mirror */
unsigned mirror_area_count; /* Mirror */
uint32_t flags; /* Mirror + raid + Cache */
uint64_t flags; /* Mirror + Raid + Cache */
char *uuid; /* Clustered mirror log */
const char *policy_name; /* Cache */