From 92808a6005debb8810f83a3527cdb0d01559169d Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 29 Jun 2012 10:51:37 +0200 Subject: [PATCH] s3:dbwrap_ctdb: expand the comment for the db_ctdb_can_use_local_copy() function Pair-Programmed-With: Gregor Beck --- source3/lib/dbwrap/dbwrap_ctdb.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c index e5662e03575..7ea8e9347c4 100644 --- a/source3/lib/dbwrap/dbwrap_ctdb.c +++ b/source3/lib/dbwrap/dbwrap_ctdb.c @@ -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; -- 2.11.4.GIT