master - libdm: use DM_STATS_GROUP_* constants in dm_stats_create_regions_from_fd
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=ac6089ee8dce83bd61d90344bf67aeef8f319f41 Commit: ac6089ee8dce83bd61d90344bf67aeef8f319f41 Parent: fe0922b8a6632456d9f20085f1c67d2ddb5b2d88 Author: Bryn M. Reeves <[email protected]> AuthorDate: Wed Mar 29 20:02:26 2017 +0100 Committer: Bryn M. Reeves <[email protected]> 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(-)
libdm/libdm-stats.c +2 -1
@@ -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)