1
0
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:
Bryn M. Reeves 2017-03-29 20:02:26 +01:00
parent fe0922b8a6
commit ac6089ee8d

View File

@ -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,
-1, &count, &regroup)))
DM_STATS_GROUP_NOT_PRESENT,
&count, &regroup)))
return NULL;
if (!group)