mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
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)
This commit is contained in:
parent
32b34222b0
commit
eb0389b0b1
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user