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:
parent
de78e8eae7
commit
5eda393488
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user