tdb: cleanup: rename global_lock to allrecord_lock.
[sahlberg/ctdb.git] / lib / tdb / common / tdb_private.h
index be630e8bfa57fcc82f785e6719869f67560be5ae..2e5679690f32146fbefe87e1299920944bb381ea 100644 (file)
@@ -191,7 +191,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 */