cluster: master - qdiskd: fix () so that it actually works again

Fabio M. Di Nitto fabbione at fedoraproject.org
Wed Oct 21 11:00:52 UTC 2009


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=81d3d6a20cf95bb3da64b66fe56ac52ae521d6ae
Commit:        81d3d6a20cf95bb3da64b66fe56ac52ae521d6ae
Parent:        f3eaf86591ef2fd9f2bede06f4277b10614ea508
Author:        Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate:    Wed Oct 21 12:55:15 2009 +0200
Committer:     Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Wed Oct 21 13:00:36 2009 +0200

qdiskd: fix () so that it actually works again

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
---
 cman/qdisk/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cman/qdisk/main.c b/cman/qdisk/main.c
index f522ebd..e07e76c 100644
--- a/cman/qdisk/main.c
+++ b/cman/qdisk/main.c
@@ -942,9 +942,9 @@ quorum_loop(qd_ctx *ctx, node_info_t *ni, int max)
 
 		/* XXX this was getuptime() in clumanager */
 		get_time(&oldtime, (ctx->qc_flags&RF_UPTIME));
-		
+
 		/* Read everyone else's status */
-		if ( (errors = read_node_blocks(ctx, ni, max) == 0 )) 
+		if ((errors = read_node_blocks(ctx, ni, max)) == 0 ) 
 			get_time(&rd_lastok, ctx->qc_flags&RF_UPTIME);
 
 		/* Check for node transitions */


More information about the cluster-commits mailing list