1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

s3:dbwrap_ctdb: expand the comment for the db_ctdb_can_use_local_copy() function

Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
This commit is contained in:
Michael Adam 2012-06-29 10:51:37 +02:00
parent 0a5f363333
commit 92808a6005

View File

@ -1003,7 +1003,10 @@ static int db_ctdb_record_destr(struct db_record* data)
return 0;
}
/* Do I own this record? */
/**
* Check whether we have a valid local copy of the given record,
* either for reading or for writing.
*/
static bool db_ctdb_can_use_local_copy(TDB_DATA ctdb_data, bool read_only)
{
struct ctdb_ltdb_header *hdr;