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

dmsetup: obey --programid when deleting regions

This commit is contained in:
Bryn M. Reeves 2016-10-24 17:21:18 +01:00
parent de78e8eae7
commit 5eda393488

View File

@ -5278,6 +5278,8 @@ static int _stats_delete(CMD_ARGS)
name = argv[0];
}
if (_switches[PROGRAM_ID_ARG])
program_id = _string_args[PROGRAM_ID_ARG];
if (_switches[ALL_PROGRAMS_ARG])
program_id = DM_STATS_ALL_PROGRAMS;