[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] LVM2/tools pvremove.c



CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	agk sourceware org	2012-03-02 02:55:45

Modified files:
	tools          : pvremove.c 

Log message:
	Reinstate error if e.g. daemon comms fails.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/pvremove.c.diff?cvsroot=lvm2&r1=1.39&r2=1.40

--- LVM2/tools/pvremove.c	2012/03/01 21:46:31	1.39
+++ LVM2/tools/pvremove.c	2012/03/02 02:55:45	1.40
@@ -128,8 +128,9 @@
 		goto out;
 	}
 
+	/* FIXME Avoid error if we expect that daemon might not know device */
 	if (!lvmetad_pv_gone(dev->dev))
-		log_debug("PV gone"); /* FIXME any better idea */
+		goto_out;
 
 	log_print("Labels on physical volume \"%s\" successfully wiped",
 		  pv_name);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]