[Cluster-devel] cluster/dlm/tool main.c

teigland at sourceware.org teigland at sourceware.org
Wed Oct 17 19:07:52 UTC 2007


CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	teigland at sourceware.org	2007-10-17 19:07:52

Modified files:
	dlm/tool       : main.c 

Log message:
	used wrong define, DLM_LOCK_ instead of LKM_

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm/tool/main.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.2.2.6&r2=1.2.2.7

--- cluster/dlm/tool/main.c	2007/10/17 18:10:56	1.2.2.6
+++ cluster/dlm/tool/main.c	2007/10/17 19:07:51	1.2.2.7
@@ -379,7 +379,7 @@
 		   e.g. G,C,W?) */
 
 		if (status == DLM_LKSTS_GRANTED)
-			rqmode = DLM_LOCK_NL;
+			rqmode = LKM_NLMODE;
 
 		printf("id %08x gr %s rq %s pid %u master %d \"%s\"\n",
 			id, mode_str(grmode), mode_str(rqmode),




More information about the Cluster-devel mailing list