cluster: STABLE3 - qdiskd: fix () so that it actually works again
Fabio M. Di Nitto
fabbione at fedoraproject.org
Wed Oct 21 10:56:20 UTC 2009
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=eeac060d98895dff7a87a372f9d6e24f0b5dee67
Commit: eeac060d98895dff7a87a372f9d6e24f0b5dee67
Parent: b7205d27c126a4e12aab19026a433a1bafd19f7c
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 12:55:15 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 32740de..87934c9 100644
--- a/cman/qdisk/main.c
+++ b/cman/qdisk/main.c
@@ -939,9 +939,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