diff options
author | Michael Adam <obnox@samba.org> | 2013-04-19 16:22:49 +0200 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2013-04-24 18:48:58 +1000 |
commit | eb0389b0b11dabbe7ec12520a5716be91c95e0f1 (patch) | |
tree | e8b96ae616dc31c2ae8a64b2bdddfa707200e5b2 | |
parent | 32b34222b07e2bede51c78a31767c8a66ce4dfbb (diff) | |
download | samba-eb0389b0b11dabbe7ec12520a5716be91c95e0f1.tar.gz samba-eb0389b0b11dabbe7ec12520a5716be91c95e0f1.tar.xz samba-eb0389b0b11dabbe7ec12520a5716be91c95e0f1.zip |
ctdb_call: use CTDB_REC_RO_FLAGS where appropriate
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-By: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit f99eb2f56d8ca27110a45ae0e1c4bff40ac7a60e)
-rw-r--r-- | ctdb/server/ctdb_call.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/server/ctdb_call.c b/ctdb/server/ctdb_call.c index a6c6389ab1c..dbbebec8c8f 100644 --- a/ctdb/server/ctdb_call.c +++ b/ctdb/server/ctdb_call.c @@ -787,7 +787,7 @@ void ctdb_request_call(struct ctdb_context *ctdb, struct ctdb_req_header *hdr) } if (header.flags & CTDB_REC_RO_REVOKE_COMPLETE) { - header.flags &= ~(CTDB_REC_RO_HAVE_DELEGATIONS|CTDB_REC_RO_HAVE_READONLY|CTDB_REC_RO_REVOKING_READONLY|CTDB_REC_RO_REVOKE_COMPLETE); + header.flags &= ~CTDB_REC_RO_FLAGS; CTDB_INCREMENT_STAT(ctdb, total_ro_revokes); CTDB_INCREMENT_DB_STAT(ctdb_db, db_ro_revokes); if (ctdb_ltdb_store(ctdb_db, call->key, &header, data) != 0) { |