1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

libdm: fix dm_stats_foreach_group() macro

This commit is contained in:
Bryn M. Reeves 2016-12-13 15:32:34 +00:00
parent 8e33972828
commit ea9af3e290

View File

@ -1138,9 +1138,9 @@ for (dm_stats_walk_init((dms), DM_STATS_WALK_AREA), \
*/ */
#define dm_stats_foreach_group(dms) \ #define dm_stats_foreach_group(dms) \
for (dm_stats_walk_init((dms), DM_STATS_WALK_GROUP), \ for (dm_stats_walk_init((dms), DM_STATS_WALK_GROUP), \
dm_stats_group_walk_start(dms); \ dm_stats_walk_start(dms); \
!dm_stats_group_walk_end(dms); \ !dm_stats_walk_end(dms); \
dm_stats_group_walk_next(dms)) dm_stats_walk_next(dms))
/* /*
* Start a walk iterating over the regions contained in dm_stats handle * Start a walk iterating over the regions contained in dm_stats handle