public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2 tools/lvconvert.c ./WHATS_NEW
@ 2010-02-06  7:44 mornfall
  0 siblings, 0 replies; only message in thread
From: mornfall @ 2010-02-06  7:44 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	mornfall@sourceware.org	2010-02-06 07:44:16

Modified files:
	tools          : lvconvert.c 
	.              : WHATS_NEW 

Log message:
	Make lvconvert --repair --use-policies exit with success when no action is needed.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/lvconvert.c.diff?cvsroot=lvm2&r1=1.119&r2=1.120
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1422&r2=1.1423

--- LVM2/tools/lvconvert.c	2010/02/05 22:47:22	1.119
+++ LVM2/tools/lvconvert.c	2010/02/06 07:44:16	1.120
@@ -1247,6 +1247,8 @@
 	}
 
 	if (arg_count(cmd, repair_ARG) && !(lv->status & MIRRORED)) {
+		if (arg_count(cmd, use_policies_ARG))
+			return ECMD_PROCESSED; /* nothing to be done here */
 		log_error("Can't repair non-mirrored LV \"%s\".", lv->name);
 		return ECMD_FAILED;
 	}
--- LVM2/WHATS_NEW	2010/02/05 22:50:56	1.1422
+++ LVM2/WHATS_NEW	2010/02/06 07:44:16	1.1423
@@ -1,5 +1,6 @@
 Version 2.02.61 - 
 ===================================
+  Make lvconvert --repair --use-policies exit with success when no action is needed.
   Add multiple snapshot lv 'lvconvert --merge @tag' support via process_each_lv().
   Fix inappropriate second resync when adding mimage to core-logged mirror.
   Exclude internal VG names and uuids in lists returned via liblvm interface.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-06  7:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-06  7:44 LVM2 tools/lvconvert.c ./WHATS_NEW mornfall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).