diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2011-09-01 10:28:15 +1000 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2011-09-01 10:28:15 +1000 |
commit | a0d4d240c3d8db196c8eb4f875802bfcffe182f0 (patch) | |
tree | d9c7c64bdbc72e0535706bd972c8cc23a8c700b3 /ctdb/include | |
parent | 63dc96cdb2b6dcdfed8e49c3f2f6a42ed13d1df5 (diff) | |
download | samba-a0d4d240c3d8db196c8eb4f875802bfcffe182f0.tar.gz samba-a0d4d240c3d8db196c8eb4f875802bfcffe182f0.tar.xz samba-a0d4d240c3d8db196c8eb4f875802bfcffe182f0.zip |
ReadOnly: add a readonly flag to the getdbmap control and show the readonly setting in ctdb getdbmap output
(This used to be ctdb commit 4cac9ad7d9c9ca657a247a6c215476399c7d2210)
Diffstat (limited to 'ctdb/include')
-rw-r--r-- | ctdb/include/ctdb_client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_client.h b/ctdb/include/ctdb_client.h index 05e12c7f950..a9e47be40ad 100644 --- a/ctdb/include/ctdb_client.h +++ b/ctdb/include/ctdb_client.h @@ -212,6 +212,7 @@ struct ctdb_dbid_map { struct ctdb_dbid { uint32_t dbid; #define CTDB_DB_FLAGS_PERSISTENT 0x01 +#define CTDB_DB_FLAGS_READONLY 0x02 uint8_t flags; } dbs[1]; }; |