git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2295f50
)
ctdb-tools: Use INVALID_GENERATION macro instead of value
author
Amitay Isaacs
<amitay@gmail.com>
Fri, 5 Aug 2016 02:40:40 +0000
(12:40 +1000)
committer
Martin Schwenke
<martins@samba.org>
Mon, 8 Aug 2016 06:17:34 +0000
(08:17 +0200)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/tools/ctdb.c
patch
|
blob
|
history
diff --git
a/ctdb/tools/ctdb.c
b/ctdb/tools/ctdb.c
index 51ab243c9f49f794b776e42ed73be2e319675660..e52121d5fa1be45917d348fe203f517e47ecb716 100644
(file)
--- 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;