X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb%2Ftdb_private.h;h=b211662c4b867d05744703598e36e3d09f35be5b;hp=975892ec2d1bfd6637153973955a207f14c4d741;hb=1d03cc6df3b4f5c8174096ae3411527f266f9a97;hpb=05f69a4723f3a48502a699805c90c16489bf0525 diff --git a/ccan/tdb/tdb_private.h b/ccan/tdb/tdb_private.h index 975892ec..b211662c 100644 --- a/ccan/tdb/tdb_private.h +++ b/ccan/tdb/tdb_private.h @@ -223,7 +223,7 @@ struct tdb_context { int read_only; /* opened read-only */ int traverse_read; /* read-only traversal */ int traverse_write; /* read-write traversal */ - struct tdb_lock_type global_lock; + struct tdb_lock_type allrecord_lock; int num_lockrecs; struct tdb_lock_type *lockrecs; /* only real locks, all with count>0 */ enum TDB_ERROR ecode; /* error code for last tdb error */