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

[Cluster-devel] cluster/group/dlm_controld main.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	teigland sourceware org	2007-10-26 21:03:08

Modified files:
	group/dlm_controld: main.c 

Log message:
	don't setup netlink if deadlock is disabled

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/dlm_controld/main.c.diff?cvsroot=cluster&r1=1.14&r2=1.15

--- cluster/group/dlm_controld/main.c	2007/08/17 21:17:53	1.14
+++ cluster/group/dlm_controld/main.c	2007/10/26 21:03:08	1.15
@@ -634,6 +634,10 @@
 		goto out;
 	client_add(rv, process_member, cluster_dead);
 
+	/* netlink stuff is only used for deadlock detection */
+	if (!deadlock_enabled)
+		goto for_loop;
+
 	rv = setup_netlink();
 	if (rv < 0)
 		goto for_loop;


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