git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82fd2b6
)
null out the pointer before we reload the nodes file
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Fri, 17 Oct 2008 10:38:42 +0000
(21:38 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Fri, 17 Oct 2008 10:38:42 +0000
(21:38 +1100)
server/ctdb_recoverd.c
patch
|
blob
|
history
diff --git
a/server/ctdb_recoverd.c
b/server/ctdb_recoverd.c
index 14a5f2c1eb17a789a34112e3f2becec8fac98ef1..350897a137de703998da348f4195b3ed94b14f2d 100644
(file)
--- a/
server/ctdb_recoverd.c
+++ b/
server/ctdb_recoverd.c
@@
-1317,7
+1317,7
@@
static int recover_database(struct ctdb_recoverd *rec,
*/
static void reload_nodes_file(struct ctdb_context *ctdb)
{
-
+ ctdb->nodes = NULL;
ctdb_load_nodes_file(ctdb);
}