git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61264de
)
include: define CTDB_REC_RO_FLAGS - all read-only related record flags
author
Michael Adam
<obnox@samba.org>
Fri, 19 Apr 2013 14:01:45 +0000
(16:01 +0200)
committer
Amitay Isaacs
<amitay@gmail.com>
Wed, 24 Apr 2013 08:48:31 +0000
(18:48 +1000)
This is used for some checks
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-By: Amitay Isaacs <amitay@gmail.com>
include/ctdb_protocol.h
patch
|
blob
|
history
diff --git
a/include/ctdb_protocol.h
b/include/ctdb_protocol.h
index 2d01b3c977771ab6962dd918de3bfd16f38288c5..4755b4c18ba665ff8df8bd18bb01aff2eef23a55 100644
(file)
--- a/
include/ctdb_protocol.h
+++ b/
include/ctdb_protocol.h
@@
-532,6
+532,10
@@
struct ctdb_ltdb_header {
#define CTDB_REC_RO_HAVE_READONLY 0x02000000
#define CTDB_REC_RO_REVOKING_READONLY 0x04000000
#define CTDB_REC_RO_REVOKE_COMPLETE 0x08000000
+#define CTDB_REC_RO_FLAGS (CTDB_REC_RO_HAVE_DELEGATIONS|\
+ CTDB_REC_RO_HAVE_READONLY|\
+ CTDB_REC_RO_REVOKING_READONLY|\
+ CTDB_REC_RO_REVOKE_COMPLETE)
uint32_t flags;
};