]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/test/layout.c
tdb2: use counters to decide when to coalesce records.
[ccan] / ccan / tdb2 / test / layout.c
index be54fe977891b8ea6835c8d40516abb5289214bb..6fcee6d482a581f35d4974f29de161b502b4682a 100644 (file)
@@ -150,7 +150,7 @@ static void add_to_freetable(struct tdb_context *tdb,
        tdb->ftable_off = freetable->base.off;
        tdb->ftable = ftable;
        add_free_record(tdb, eoff, sizeof(struct tdb_used_record) + elen,
-                       TDB_LOCK_WAIT);
+                       TDB_LOCK_WAIT, false);
 }
 
 static tdb_off_t hbucket_off(tdb_off_t group_start, unsigned ingroup)