diff options
author | Sumit Bose <sbose@redhat.com> | 2009-05-20 12:02:27 +0200 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2009-05-21 11:16:43 +1000 |
commit | 11988fc77a06c50c251acec1dc8cc2c275f68310 (patch) | |
tree | 3c3af462326e6e686959bde5b9be6293b9211100 | |
parent | 9171a7784cd6b7703d9d4468acd5fe69d8e68ed3 (diff) | |
download | samba-11988fc77a06c50c251acec1dc8cc2c275f68310.tar.gz samba-11988fc77a06c50c251acec1dc8cc2c275f68310.tar.xz samba-11988fc77a06c50c251acec1dc8cc2c275f68310.zip |
structure member node_list_file is not used anywhere
(This used to be ctdb commit 0e84ea23d1d998d4d4ac7d8a858b3d8294f056cb)
-rw-r--r-- | ctdb/include/ctdb_private.h | 1 | ||||
-rw-r--r-- | ctdb/server/ctdb_server.c | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 419cd7fc86..ff007a8ac6 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -375,7 +375,6 @@ struct ctdb_context { const char *db_directory; const char *db_directory_persistent; const char *transport; - char *node_list_file; char *recovery_lock_file; int recovery_lock_fd; uint32_t pnn; /* our own pnn */ diff --git a/ctdb/server/ctdb_server.c b/ctdb/server/ctdb_server.c index d9a32347ce..a701f753fb 100644 --- a/ctdb/server/ctdb_server.c +++ b/ctdb/server/ctdb_server.c @@ -145,9 +145,6 @@ int ctdb_set_nlist(struct ctdb_context *ctdb, const char *nlist) ctdb->nodes = NULL; ctdb->num_nodes = 0; - talloc_free(ctdb->node_list_file); - ctdb->node_list_file = talloc_strdup(ctdb, nlist); - lines = file_lines_load(nlist, &nlines, ctdb); if (lines == NULL) { ctdb_set_error(ctdb, "Failed to load nlist '%s'\n", nlist); |