All of lore.kernel.org
 help / color / mirror / Atom feed
From: wysochanski@sourceware.org <wysochanski@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2 ./WHATS_NEW tools/lvresize.c
Date: 1 Apr 2008 22:15:17 -0000	[thread overview]
Message-ID: <20080401221517.12825.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	wysochanski at sourceware.org	2008-04-01 22:15:16

Modified files:
	.              : WHATS_NEW 
	tools          : lvresize.c 

Log message:
	Fix redundant lvresize message if vg doesn't exist.
	
	BEFORE:
	tools/lvm lvresize -l +4 vg22/lv1linear
	Volume group "vg22" not found
	Volume group vg22 doesn't exist
	
	AFTER:
	tools/lvm lvresize -l +4 vg22/lv1linear
	Volume group "vg22" not found

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.813&r2=1.814
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/lvresize.c.diff?cvsroot=lvm2&r1=1.93&r2=1.94

--- LVM2/WHATS_NEW	2008/04/01 15:01:30	1.813
+++ LVM2/WHATS_NEW	2008/04/01 22:15:16	1.814
@@ -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.
--- LVM2/tools/lvresize.c	2008/02/06 12:45:32	1.93
+++ LVM2/tools/lvresize.c	2008/04/01 22:15:16	1.94
@@ -654,10 +654,8 @@
 	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;



             reply	other threads:[~2008-04-01 22:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-01 22:15 wysochanski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-09-18 18:51 LVM2 ./WHATS_NEW tools/lvresize.c agk
2009-01-15 14:44 wysochanski
2010-03-20  3:44 snitzer
2011-12-01  0:13 jbrassow
2012-01-09 12:31 zkabelac
2012-02-08 10:56 zkabelac
2012-04-11 12:36 zkabelac
2012-04-11 12:40 zkabelac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080401221517.12825.qmail@sourceware.org \
    --to=wysochanski@sourceware.org \
    --cc=lvm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.