[Cluster-devel] cluster/cmirror-kernel/src dm-clog.c

jbrassow at sourceware.org jbrassow at sourceware.org
Thu Aug 30 18:26:23 UTC 2007


CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	jbrassow at sourceware.org	2007-08-30 18:26:22

Modified files:
	cmirror-kernel/src: dm-clog.c 

Log message:
	- kmalloc -> kzalloc

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cmirror-kernel/src/dm-clog.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.2.2.2&r2=1.2.2.3

--- cluster/cmirror-kernel/src/dm-clog.c	2007/08/30 15:49:32	1.2.2.2
+++ cluster/cmirror-kernel/src/dm-clog.c	2007/08/30 18:26:22	1.2.2.3
@@ -78,7 +78,7 @@
 
 	str_size += 20; /* Max number of chars in a printed u64 number */
 
-	ctr_str = kmalloc(str_size, GFP_KERNEL);
+	ctr_str = kzalloc(str_size, GFP_KERNEL);
 	if (!ctr_str) {
 		DMWARN("Unable to allocate memory for constructor string");
 		kfree(lc);




More information about the Cluster-devel mailing list