summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2019-04-04 13:19:08 -0500
committerDavid Teigland <teigland@redhat.com>2019-04-04 13:19:08 -0500
commit50800e33d56176e034970f93c5f87f59ecd569db (patch)
tree9b198367e7baa9de5ed15a8d1a72f44139722e8c
parent5d6fe796bd03a49b44e387dc8026996292505f27 (diff)
downloadlvm2-50800e33d56176e034970f93c5f87f59ecd569db.tar.gz
lvextend: refresh shared LV without using select
Using select instead of normal args did not end up being a help, so remove it.
-rw-r--r--daemons/lvmlockd/lvmlockd-dlm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/daemons/lvmlockd/lvmlockd-dlm.c b/daemons/lvmlockd/lvmlockd-dlm.c
index ee39c3ea1..bfc1d23c2 100644
--- a/daemons/lvmlockd/lvmlockd-dlm.c
+++ b/daemons/lvmlockd/lvmlockd-dlm.c
@@ -818,11 +818,10 @@ int lm_refresh_lv_start_dlm(struct action *act)
memset(run_uuid, 0, sizeof(run_uuid));
/* todo: add --readonly */
- /* FIXME: move vgname into the select option once the dlm can handle compound select args */
snprintf(command, DLMC_RUN_COMMAND_LEN,
- "lvm lvchange --refresh --partial --nolocking --select lvname=%s %s",
- lvname, vgname);
+ "lvm lvchange --refresh --partial --nolocking %s/%s",
+ vgname, lvname);
rv = dlmc_run_start(command, strlen(command), 0,
DLMC_FLAG_RUN_START_NODE_NONE,