]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ldb:kv_cache: s/ltdb/ldb_kv/ in comments and messages
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 22 Aug 2024 04:23:09 +0000 (16:23 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Thu, 19 Dec 2024 23:00:32 +0000 (23:00 +0000)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
lib/ldb/ldb_key_value/ldb_kv_cache.c

index b1c136d751e7200b4b13d3af9176a1f2e79cc1bf..4ce57b37a290cf9af7c6ca82b543e7a1904e09e6 100644 (file)
@@ -328,7 +328,7 @@ static int ldb_kv_baseinfo_init(struct ldb_module *module)
        struct ldb_val val;
        int ret;
        /* the initial sequence number must be different from the one
-          set in ltdb_cache_free(). Thanks to Jon for pointing this
+          set in ldb_kv_cache_free(). Thanks to Jon for pointing this
           out. */
        const char *initial_sequence_number = "1";
 
@@ -476,8 +476,10 @@ int ldb_kv_cache_load(struct ldb_module *module)
                ldb_kv->pack_format_version = LDB_PACKING_FORMAT;
                ldb_kv->target_pack_format_version = LDB_PACKING_FORMAT;
 
-               /* error handling for ltdb_baseinfo_init() is by
-                  looking for the record again. */
+               /*
+                * error handling for ldb_kv_baseinfo_init() is by
+                * looking for the record again.
+                */
                ldb_kv_baseinfo_init(module);
 
        } else if (r != LDB_SUCCESS) {
@@ -527,7 +529,7 @@ int ldb_kv_cache_load(struct ldb_module *module)
        }
 
        /*
-        * ltdb_attributes_unload() calls internally talloc_free() on
+        * ldb_kv_attributes_unload() calls internally talloc_free() on
         * any non-fixed elements in ldb->schema.attributes.
         *
         * NOTE WELL: This is per-ldb, not per module, so overwrites