[lvm-devel] LVM2/daemons/clvmd clvmd.c

zkabelac at sourceware.org zkabelac at sourceware.org
Thu Jan 26 17:55:56 UTC 2012


CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac at sourceware.org	2012-01-26 17:55:56

Modified files:
	daemons/clvmd  : clvmd.c 

Log message:
	Oops missed braces in previous commit
	
	This has disabled clvmd for being executed.
	(FIXME improve testing part to catch this fault)

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/clvmd/clvmd.c.diff?cvsroot=lvm2&r1=1.118&r2=1.119

--- LVM2/daemons/clvmd/clvmd.c	2012/01/25 22:36:33	1.118
+++ LVM2/daemons/clvmd/clvmd.c	2012/01/26 17:55:55	1.119
@@ -440,9 +440,10 @@
 		perror("Cannot set LANG to C");
 
 	/* Setting debug options on an existing clvmd */
-	if (debug_opt && !check_local_clvmd())
+	if (debug_opt && !check_local_clvmd()) {
 		dm_hash_destroy(lvm_params.excl_uuid);
 		return debug_clvmd(debug_arg, clusterwide_opt)==1?0:1;
+	}
 
 	clvmd_set_debug(debug_opt);
 




More information about the lvm-devel mailing list