summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2011-07-20 12:17:27 +1000
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2011-08-23 10:17:08 +1000
commit8f63a5dadd4d209a436d42da2f5756474ec51fa8 (patch)
treef980ff7ed93c446517ac26289afa970dda3a819c
parentb8d06cb41b5e05c0d2f05961abb5d936a9c65c10 (diff)
downloadsamba-8f63a5dadd4d209a436d42da2f5756474ec51fa8.tar.gz
samba-8f63a5dadd4d209a436d42da2f5756474ec51fa8.tar.xz
samba-8f63a5dadd4d209a436d42da2f5756474ec51fa8.zip
ReadOnly: Add 4 new record flags to handle read only delegation and revoking of delegations
(This used to be ctdb commit 875b0bede217547b51f02648b6a28a3c98b6b949)
-rw-r--r--ctdb/include/ctdb_protocol.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_protocol.h b/ctdb/include/ctdb_protocol.h
index b805182b6f..da7f0528d3 100644
--- a/ctdb/include/ctdb_protocol.h
+++ b/ctdb/include/ctdb_protocol.h
@@ -488,6 +488,10 @@ struct ctdb_ltdb_header {
#define CTDB_REC_FLAG_MIGRATED_WITH_DATA 0x00010000
#define CTDB_REC_FLAG_VACUUM_MIGRATED 0x00020000
#define CTDB_REC_FLAG_AUTOMATIC 0x00040000
+#define CTDB_REC_RO_HAVE_DELEGATIONS 0x01000000
+#define CTDB_REC_RO_HAVE_READONLY 0x02000000
+#define CTDB_REC_RO_REVOKING_READONLY 0x04000000
+#define CTDB_REC_RO_REVOKE_COMPLETE 0x08000000
uint32_t flags;
};