summaryrefslogtreecommitdiff
path: root/ctdb/include
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2017-03-02 15:53:17 +1100
committerMartin Schwenke <martins@samba.org>2017-06-29 10:34:27 +0200
commit7c462b0df873a42a5f0a19887c0a3d7f12993ddd (patch)
tree4bc8c390136c4b7767355fc213ba69375970f14a /ctdb/include
parent4e43a344cc30679d8326ba1b2c6ddf459ac6d0bb (diff)
downloadsamba-7c462b0df873a42a5f0a19887c0a3d7f12993ddd.tar.gz
ctdb-daemon: Store db_flags instead of individual boolean flags
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_private.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index 8cdb4d8f0fa..4b0805bd1a6 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -344,9 +344,7 @@ struct ctdb_db_context {
struct ctdb_db_context *next, *prev;
struct ctdb_context *ctdb;
uint32_t db_id;
- bool persistent;
- bool readonly; /* Do we support read-only delegations ? */
- bool sticky; /* Do we support sticky records ? */
+ uint8_t db_flags;
const char *db_name;
const char *db_path;
struct tdb_wrap *ltdb;