From: Amitay Isaacs Date: Fri, 5 Aug 2016 02:40:40 +0000 (+1000) Subject: ctdb-tools: Use INVALID_GENERATION macro instead of value X-Git-Tag: tevent-0.9.30~201 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88a579101537fb1ed5182c7c5da4ad49e0516546;p=thirdparty%2Fsamba.git ctdb-tools: Use INVALID_GENERATION macro instead of value Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- diff --git a/ctdb/tools/ctdb.c b/ctdb/tools/ctdb.c index 51ab243c9f4..e52121d5fa1 100644 --- a/ctdb/tools/ctdb.c +++ b/ctdb/tools/ctdb.c @@ -2876,7 +2876,7 @@ again: return ret; } - if (vnnmap->generation == 1) { + if (vnnmap->generation == INVALID_GENERATION) { talloc_free(vnnmap); sleep(1); goto again;