mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-30 17:18:21 +03:00
libdm: fix <backtrace> in dm_stats_populate
This commit is contained in:
parent
53e92441a6
commit
0f64f2d5fc
@ -2227,7 +2227,7 @@ int dm_stats_populate(struct dm_stats *dms, const char *program_id,
|
||||
|
||||
/* successful list but no regions registered */
|
||||
if (!dms->nr_regions)
|
||||
return_0;
|
||||
return 0;
|
||||
|
||||
dms->walk_flags = DM_STATS_WALK_REGION;
|
||||
dm_stats_walk_start(dms);
|
||||
|
Loading…
Reference in New Issue
Block a user