mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
ctdb-daemon: Remove priority field from ctdb_db_context
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
parent
a7dd60e38c
commit
3927603ca2
@ -388,7 +388,6 @@ struct ctdb_db_context {
|
||||
struct ctdb_db_context *next, *prev;
|
||||
struct ctdb_context *ctdb;
|
||||
uint32_t db_id;
|
||||
uint32_t priority;
|
||||
bool persistent;
|
||||
bool readonly; /* Do we support read-only delegations ? */
|
||||
bool sticky; /* Do we support sticky records ? */
|
||||
|
@ -767,7 +767,6 @@ static int ctdb_local_attach(struct ctdb_context *ctdb, const char *db_name,
|
||||
ctdb_db = talloc_zero(ctdb, struct ctdb_db_context);
|
||||
CTDB_NO_MEMORY(ctdb, ctdb_db);
|
||||
|
||||
ctdb_db->priority = 1;
|
||||
ctdb_db->ctdb = ctdb;
|
||||
ctdb_db->db_name = talloc_strdup(ctdb_db, db_name);
|
||||
CTDB_NO_MEMORY(ctdb, ctdb_db->db_name);
|
||||
|
Loading…
Reference in New Issue
Block a user