mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
dmsetup: one missed dms
This commit is contained in:
parent
32762e2a9c
commit
6c331f3061
@ -4585,7 +4585,8 @@ static int _stats_clear(CMD_ARGS)
|
|||||||
region_id = (allregions) ? DM_STATS_REGIONS_ALL
|
region_id = (allregions) ? DM_STATS_REGIONS_ALL
|
||||||
: (uint64_t) _int_args[REGION_ID_ARG];
|
: (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))
|
if (!_bind_stats_device(dms, name))
|
||||||
goto_out;
|
goto_out;
|
||||||
|
Loading…
Reference in New Issue
Block a user