mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
libdm: use DM_STATS_GROUP_* constants in dm_stats_create_regions_from_fd
This commit is contained in:
parent
fe0922b8a6
commit
ac6089ee8d
@ -4777,7 +4777,8 @@ uint64_t *dm_stats_create_regions_from_fd(struct dm_stats *dms, int fd,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!(regions = _stats_map_file_regions(dms, fd, bounds, precise,
|
if (!(regions = _stats_map_file_regions(dms, fd, bounds, precise,
|
||||||
-1, &count, ®roup)))
|
DM_STATS_GROUP_NOT_PRESENT,
|
||||||
|
&count, ®roup)))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if (!group)
|
if (!group)
|
||||||
|
Loading…
Reference in New Issue
Block a user