master - dmeventd_thin: internal command without lvm prefix
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=2e0605d6db9723d4bea472b21352d398f29e226e Commit: 2e0605d6db9723d4bea472b21352d398f29e226e Parent: 85dab3963fbf8b3cc1be84f2d7c43257075ac2a3 Author: Zdenek Kabelac <[email protected]> AuthorDate: Sat Jan 21 17:37:01 2017 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Sat Jan 21 17:42:19 2017 +0100
dmeventd_thin: internal command without lvm prefix
Internal command processing needs to go without 'lvm ' prefix.
--- daemons/dmeventd/plugins/thin/dmeventd_thin.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
daemons/dmeventd/plugins/thin/dmeventd_thin.c +2 -1
@@ -375,7 +375,8 @@ int register_device(const char *device,dm_split_words (str, maxcmd -1 ,0 , state->argv);_init_thread_signals (state); - } + }else +memmove (state->cmd_str, state->cmd_str +4 ,strlen (state->cmd_str +4 ) +1 ); state->pid =-1 ; *user = state;