commit 4ad333b7009ada0af3c1a2a5ad8f9815fb67b582 Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Wed Oct 21 12:55:15 2009 +0200 qdiskd: fix () so that it actually works again Resolves: rhbz#511113 Part 4/4 Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> Signed-off-by: Lon Hohberger <lhh@redhat.com> 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 */