diff --git a/daemons/lvmlockd/lvmlockd-dlm.c b/daemons/lvmlockd/lvmlockd-dlm.c index 21aaa2d04..ee39c3ea1 100644 --- a/daemons/lvmlockd/lvmlockd-dlm.c +++ b/daemons/lvmlockd/lvmlockd-dlm.c @@ -818,9 +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 && vgname=%s'", + "lvm lvchange --refresh --partial --nolocking --select lvname=%s %s", lvname, vgname); rv = dlmc_run_start(command, strlen(command), 0,