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

[Cluster-devel] cluster/cman/lib libcman.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL51
Changes by:	cfeist sourceware org	2007-09-19 19:15:16

Modified files:
	cman/lib       : libcman.c 

Log message:
	Fixes #294351 - qdisk does not run on multipathed /dev/mapper devices
	
	Cman now allows devices to be greater than 16 characters

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/lib/libcman.c.diff?cvsroot=cluster&only_with_tag=RHEL51&r1=1.30.2.3&r2=1.30.2.3.2.1

--- cluster/cman/lib/libcman.c	2007/01/05 10:31:33	1.30.2.3
+++ cluster/cman/lib/libcman.c	2007/09/19 19:15:16	1.30.2.3.2.1
@@ -994,7 +994,7 @@
 	char buf[strlen(name)+1 + sizeof(int)];
 	VALIDATE_HANDLE(h);
 
-	if (strlen(name) > MAX_CLUSTER_NAME_LEN)
+	if (strlen(name) > MAX_CLUSTER_MEMBER_NAME_LEN)
 	{
 		errno = EINVAL;
 		return -1;


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