diff options
-rw-r--r-- | source3/lib/dbwrap/dbwrap_ctdb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c index d1f0e5d387..5605b47caf 100644 --- a/source3/lib/dbwrap/dbwrap_ctdb.c +++ b/source3/lib/dbwrap/dbwrap_ctdb.c @@ -1025,7 +1025,9 @@ static bool db_ctdb_can_use_local_copy(TDB_DATA ctdb_data, bool read_only) return read_only && (hdr->flags & CTDB_REC_RO_HAVE_READONLY); } - /* If we want write access, noone can have r/o copies. */ + /* + * If we want write access, no one may have r/o copies. + */ return read_only || !(hdr->flags & CTDB_REC_RO_HAVE_DELEGATIONS); #else return (hdr->dmaster == get_my_vnn()); |