All of lore.kernel.org
 help / color / mirror / Atom feed
* master - dmsetup: obey --programid when deleting regions
@ 2016-10-24 16:21 Bryn Reeves
  0 siblings, 0 replies; only message in thread
From: Bryn Reeves @ 2016-10-24 16:21 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=5eda3934885b23ce06f862a56b524ceaab3cb565
Commit:        5eda3934885b23ce06f862a56b524ceaab3cb565
Parent:        de78e8eae73cb155fdb906ef2b8ddc9ca1a918c4
Author:        Bryn M. Reeves <bmr@redhat.com>
AuthorDate:    Mon Oct 24 17:21:18 2016 +0100
Committer:     Bryn M. Reeves <bmr@redhat.com>
CommitterDate: Mon Oct 24 17:21:18 2016 +0100

dmsetup: obey --programid when deleting regions

---
 tools/dmsetup.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tools/dmsetup.c b/tools/dmsetup.c
index 9d357ec..ec64d24 100644
--- a/tools/dmsetup.c
+++ b/tools/dmsetup.c
@@ -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;
 



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-24 16:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-24 16:21 master - dmsetup: obey --programid when deleting regions Bryn Reeves

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.