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

[Cluster-devel] cluster/magma-plugins/sm sm.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	lhh sourceware org	2007-04-23 19:24:58

Modified files:
	magma-plugins/sm: sm.c 

Log message:
	Ancillary fix to bug #223907

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/magma-plugins/sm/sm.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.9.2.11&r2=1.9.2.12

--- cluster/magma-plugins/sm/Attic/sm.c	2007/01/03 21:09:09	1.9.2.11
+++ cluster/magma-plugins/sm/Attic/sm.c	2007/04/23 18:24:58	1.9.2.12
@@ -36,7 +36,7 @@
 #include <sys/select.h>
 #include <sys/stat.h>
 
-#define MODULE_DESCRIPTION "CMAN/SM Plugin v1.1.7.3"
+#define MODULE_DESCRIPTION "CMAN/SM Plugin v1.1.7.4"
 #define MODULE_AUTHOR      "Lon Hohberger"
 
 #define DLM_LS_NAME	   "Magma"
@@ -377,7 +377,8 @@
 
 	/* Check for existince of dlm control file so we don't
 	   hang in dlm_acquire_lockspace */
-	if (stat("/dev/dlm-control", &st) < 0)
+	if (stat("/dev/misc/dlm-control", &st) < 0 &&
+	    stat("/dev/dlm-control", &st) < 0)
 		return -1;
 
 	if (p->sockfd >= 0)


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