diff --git a/WHATS_NEW b/WHATS_NEW index 18fe06bcf..cd03b2a00 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.34 - =================================== + Fix redundant lvresize message if vg doesn't exist. Fix another allocation bug with clvmd and large node IDs. Add find_lv_in_lv_list() and find_pv_in_pv_list(). Fix uninitialised variable in clvmd that could cause odd hangs. diff --git a/tools/lvresize.c b/tools/lvresize.c index bc61914e8..da7562121 100644 --- a/tools/lvresize.c +++ b/tools/lvresize.c @@ -654,10 +654,8 @@ int lvresize(struct cmd_context *cmd, int argc, char **argv) log_verbose("Finding volume group %s", lp.vg_name); if (!(vg = vg_lock_and_read(cmd, lp.vg_name, NULL, LCK_VG_WRITE, CLUSTERED | EXPORTED_VG | LVM_WRITE, - CORRECT_INCONSISTENT))) { - log_error("Volume group %s doesn't exist", lp.vg_name); + CORRECT_INCONSISTENT))) return ECMD_FAILED; - } if (!(r = _lvresize(cmd, vg, &lp))) stack;