X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb%2Ftdb.c;h=2da4428230971f8602e9536d7a7af2abf69e404a;hp=c6ce4548542cfc5222d7415fea952d0adff99519;hb=1d03cc6df3b4f5c8174096ae3411527f266f9a97;hpb=05f69a4723f3a48502a699805c90c16489bf0525 diff --git a/ccan/tdb/tdb.c b/ccan/tdb/tdb.c index c6ce4548..2da44282 100644 --- a/ccan/tdb/tdb.c +++ b/ccan/tdb/tdb.c @@ -805,7 +805,7 @@ static int tdb_free_region(struct tdb_context *tdb, tdb_off_t offset, ssize_t le /* wipe the entire database, deleting all records. This can be done - very fast by using a global lock. The entire data portion of the + very fast by using a allrecord lock. The entire data portion of the file becomes a single entry in the freelist. This code carefully steps around the recovery area, leaving it alone