Gitweb:
https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=ac6089ee8dce83bd61d...
Commit: ac6089ee8dce83bd61d90344bf67aeef8f319f41
Parent: fe0922b8a6632456d9f20085f1c67d2ddb5b2d88
Author: Bryn M. Reeves <bmr(a)redhat.com>
AuthorDate: Wed Mar 29 20:02:26 2017 +0100
Committer: Bryn M. Reeves <bmr(a)redhat.com>
CommitterDate: Thu Mar 30 09:57:58 2017 +0100
libdm: use DM_STATS_GROUP_* constants in dm_stats_create_regions_from_fd
---
libdm/libdm-stats.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/libdm/libdm-stats.c b/libdm/libdm-stats.c
index 290097f..b553da5 100644
--- a/libdm/libdm-stats.c
+++ b/libdm/libdm-stats.c
@@ -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, ®roup)))
+ DM_STATS_GROUP_NOT_PRESENT,
+ &count, ®roup)))
return NULL;
if (!group)