]> sourceware.org Git - lvm2.git/commitdiff
libdm: fix dm_stats_foreach_group() macro
authorBryn M. Reeves <bmr@redhat.com>
Tue, 13 Dec 2016 15:32:34 +0000 (15:32 +0000)
committerBryn M. Reeves <bmr@redhat.com>
Tue, 13 Dec 2016 20:01:00 +0000 (20:01 +0000)
libdm/libdevmapper.h

index fe2e410bd29801666a56628a3d7f51a4be32a469..ab69a5690700280768999102d4d5383020ff0290 100644 (file)
@@ -1138,9 +1138,9 @@ for (dm_stats_walk_init((dms), DM_STATS_WALK_AREA),               \
  */
 #define dm_stats_foreach_group(dms)                            \
 for (dm_stats_walk_init((dms), DM_STATS_WALK_GROUP),           \
-     dm_stats_group_walk_start(dms);                           \
-     !dm_stats_group_walk_end(dms);                            \
-     dm_stats_group_walk_next(dms))
+     dm_stats_walk_start(dms);                                 \
+     !dm_stats_walk_end(dms);                                  \
+     dm_stats_walk_next(dms))
 
 /*
  * Start a walk iterating over the regions contained in dm_stats handle
This page took 0.06745 seconds and 5 git commands to generate.