From 93a633092af0ed92a138d69f73602357a765d7c2 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 28 Mar 2024 23:21:46 +0100 Subject: [PATCH] cov: store 64b flags Alhtough no target is currently using that many bits for their flags, preserve the size for loaded segment internally. --- device_mapper/libdm-deptree.c | 2 +- libdm/libdm-deptree.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/device_mapper/libdm-deptree.c b/device_mapper/libdm-deptree.c index 61d084f70..6ca34354d 100644 --- a/device_mapper/libdm-deptree.c +++ b/device_mapper/libdm-deptree.c @@ -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 */ diff --git a/libdm/libdm-deptree.c b/libdm/libdm-deptree.c index 0485bcc6a..564022359 100644 --- a/libdm/libdm-deptree.c +++ b/libdm/libdm-deptree.c @@ -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 */