Skip to contentSkip to conversation

cluster/cmirror-kernel/src dm-clog.c

Cluster-devel [email protected] 1 participant 1 message Aug 30, 2007

lore
Share & tools
lore
#0 lore raw

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

cmirror-kernel/src/dm-clog.c +1 -1
@@ -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);