]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb/tdb_private.h
tdb: cleanup: rename global_lock to allrecord_lock.
[ccan] / ccan / tdb / tdb_private.h
index 975892ec2d1bfd6637153973955a207f14c4d741..b211662c4b867d05744703598e36e3d09f35be5b 100644 (file)
@@ -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 */