Bläddra i källkod

votequorum: add missing return call

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Fabio M. Di Nitto 13 år sedan
förälder
incheckning
302545e112
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      exec/votequorum.c

+ 1 - 0
exec/votequorum.c

@@ -1489,6 +1489,7 @@ static void message_handler_req_exec_votequorum_qdevice_reg (
 		 */
 		if (us->flags & NODE_FLAGS_QDEVICE_REGISTERED) {
 			LEAVE();
+			return;
 		}
 
 		/*