diff --git a/WHATS_NEW b/WHATS_NEW index e644845e5..a1ee27a0a 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.89 - ================================== + Add all exclusive locks to clvmd restart option args. Always send the whole clvmd packet header in refresh commands. Add missing error checks for some system calls in cmirrord. Add missing log_error() to lvresize command when fsadm tool fails. diff --git a/daemons/clvmd/clvmd-command.c b/daemons/clvmd/clvmd-command.c index 75f136743..c83e2cfdf 100644 --- a/daemons/clvmd/clvmd-command.c +++ b/daemons/clvmd/clvmd-command.c @@ -369,7 +369,6 @@ static int restart_clvmd(void) DEBUGLOG("clvmd restart requested\n"); /* Count exclusively-open LVs */ - hn = NULL; do { hn = get_next_excl_lock(hn, &lv_name); if (lv_name) @@ -403,6 +402,7 @@ static int restart_clvmd(void) */ /* Now add the exclusively-open LVs */ + hn = NULL; do { hn = get_next_excl_lock(hn, &lv_name); if (lv_name) { @@ -414,7 +414,6 @@ static int restart_clvmd(void) goto_out; DEBUGLOG("excl lock: %s\n", lv_name); - hn = get_next_excl_lock(hn, &lv_name); } } while (hn && *lv_name); argv[argc++] = NULL;