summaryrefslogtreecommitdiff
path: root/tools/lvmcmdlib.c
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2018-07-09 11:43:12 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2018-07-09 15:29:16 +0200
commitfaa126882a9cf2fb64dd143bb96414399e30edf2 (patch)
treecd5ba75d9c10702c4cf3ebc92712766984b3c206 /tools/lvmcmdlib.c
parent12213445b5f86155665ed6f027082e93c4f6cf85 (diff)
downloadlvm2-faa126882a9cf2fb64dd143bb96414399e30edf2.tar.gz
dmeventd: lvm vdo support
Diffstat (limited to 'tools/lvmcmdlib.c')
-rw-r--r--tools/lvmcmdlib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/lvmcmdlib.c b/tools/lvmcmdlib.c
index b787d097d..695d4dda6 100644
--- a/tools/lvmcmdlib.c
+++ b/tools/lvmcmdlib.c
@@ -87,6 +87,9 @@ int lvm2_run(void *handle, const char *cmdline)
else if (!strcmp(cmdline, "_dmeventd_thin_command")) {
if (setenv(cmdline, find_config_tree_str(cmd, dmeventd_thin_command_CFG, NULL), 1))
ret = ECMD_FAILED;
+ } else if (!strcmp(cmdline, "_dmeventd_vdo_command")) {
+ if (setenv(cmdline, find_config_tree_str(cmd, dmeventd_vdo_command_CFG, NULL), 1))
+ ret = ECMD_FAILED;
} else
ret = lvm_run_command(cmd, argc, argv);