فهرست منبع

If there was a quorum {} section in corosync.conf but no provider specified
then we would always report inquorate.

This was wrong, if no provider is specified then we are always quorate.



git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1722 fd59a12c-fef9-0310-b244-a6a79926bd2f

Christine Caulfield 17 سال پیش
والد
کامیت
205ea1d44b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      exec/vsf_quorum.c

+ 1 - 1
exec/vsf_quorum.c

@@ -303,7 +303,7 @@ static int quorum_exec_init_fn (struct corosync_api_v1 *api)
 			quorum_iface->init (api, quorum_api_set_quorum);
 		}
 	}
-	else {
+	if (!quorum_iface) {
 		/*
                  * With no quorum provider, we are always quorate 
                  */