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

Lon Hohberger lon at fedoraproject.org
Fri Oct 30 20:43:00 UTC 2009


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=4ad333b7009ada0af3c1a2a5ad8f9815fb67b582
Commit:        4ad333b7009ada0af3c1a2a5ad8f9815fb67b582
Parent:        fe46f6b6e9ed9a40c37fa60966fafc1cf07e36d2
Author:        Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate:    Wed Oct 21 12:55:15 2009 +0200
Committer:     Lon Hohberger <lhh at redhat.com>
CommitterDate: Fri Oct 30 16:37:46 2009 -0400

qdiskd: fix () so that it actually works again

Resolves: rhbz#511113

Part 4/4

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
Signed-off-by: Lon Hohberger <lhh 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 250406a..cc18a05 100644
--- a/cman/qdisk/main.c
+++ b/cman/qdisk/main.c
@@ -894,9 +894,9 @@ quorum_loop(qd_ctx *ctx, node_info_t *ni, int max)
 	while (_running) {
 		/* 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