Skip to contentSkip to conversation

LVM2/daemons/clvmd clvmd.c

PATCH [email protected] 1 participant 1 message Jan 26, 2012

lore
Share & tools
lore
#0 lore raw

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

daemons/clvmd/clvmd.c +2 -1
@@ -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);