Преглед изворни кода

votequorum: Allow wait_for_all with qdevice

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
Christine Caulfield пре 10 година
родитељ
комит
e41b256c67
1 измењених фајлова са 0 додато и 11 уклоњено
  1. 0 11
      exec/votequorum.c

+ 0 - 11
exec/votequorum.c

@@ -1403,17 +1403,6 @@ static char *votequorum_readconfig(int runtime)
 		}
 		}
 	}
 	}
 
 
-	if ((have_qdevice) && (wait_for_all)) {
-		if (!runtime) {
-			error = (char *)"configuration error: quorum.device is not compatible with wait_for_all";
-			goto out;
-		} else {
-			log_printf(LOGSYS_LEVEL_CRIT, "configuration error: quorum.device is not compatible with wait_for_all");
-			log_printf(LOGSYS_LEVEL_CRIT, "disabling quorum device operations");
-			update_qdevice_can_operate(0);
-		}
-	}
-
 	if ((have_qdevice) && (allow_downscale)) {
 	if ((have_qdevice) && (allow_downscale)) {
 		if (!runtime) {
 		if (!runtime) {
 			error = (char *)"configuration error: quorum.device is not compatible with allow_downscale";
 			error = (char *)"configuration error: quorum.device is not compatible with allow_downscale";