Skip to contentSkip to conversation

cluster/group/dlm_controld main.c

Cluster-devel [email protected] 1 participant 1 message Oct 26, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: teigland at 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

group/dlm_controld/main.c +4 -0
@@ -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;