master - libdm: ensure dm_stats_get_area_offset() returns a value
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=427d0a5e925d86145df12313aa36d5c61ff59bd5 Commit: 427d0a5e925d86145df12313aa36d5c61ff59bd5 Parent: 623b46a17d4163b42f9f65c41d5c8d8f95ec95c5 Author: Bryn M. Reeves <[email protected]> AuthorDate: Mon Aug 17 13:56:44 2015 +0100 Committer: Bryn M. Reeves <[email protected]> CommitterDate: Mon Aug 17 14:40:48 2015 +0100
libdm: ensure dm_stats_get_area_offset() returns a value
--- libdm/libdm-stats.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
libdm/libdm-stats.c +1 -0
@@ -1341,6 +1341,7 @@ uint64_t dm_stats_get_area_offset(const struct dm_stats *dms, uint64_t *offset,if (!dms || !dms->regions) return_0; *offset = dms->regions[region_id].step * area_id; +return 1 ; } uint64_t dm_stats_get_current_area_start(const struct dm_stats *dms,