s3:dbwrap_ctdb: expand the comment for the db_ctdb_can_use_local_copy() function
authorMichael Adam <obnox@samba.org>
Fri, 29 Jun 2012 08:51:37 +0000 (10:51 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 29 Jun 2012 13:21:19 +0000 (15:21 +0200)
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>

source3/lib/dbwrap/dbwrap_ctdb.c

index e5662e03575745a98eb9a6518086e5dc1d449809..7ea8e9347c4465686ca2551e793a661344eca25f 100644 (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;