From 88a579101537fb1ed5182c7c5da4ad49e0516546 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Fri, 5 Aug 2016 12:40:40 +1000 Subject: [PATCH] ctdb-tools: Use INVALID_GENERATION macro instead of value Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- ctdb/tools/ctdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2