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

dmsetup: one missed dms

This commit is contained in:
Zdenek Kabelac 2015-11-09 16:02:33 +01:00
parent 32762e2a9c
commit 6c331f3061

View File

@ -4585,7 +4585,8 @@ static int _stats_clear(CMD_ARGS)
region_id = (allregions) ? DM_STATS_REGIONS_ALL
: (uint64_t) _int_args[REGION_ID_ARG];
dms = dm_stats_create(DM_STATS_PROGRAM_ID);
if (!(dms = dm_stats_create(DM_STATS_PROGRAM_ID)))
return_0;
if (!_bind_stats_device(dms, name))
goto_out;