From: Gary Lockyer Date: Fri, 20 Jul 2018 01:31:27 +0000 (+1200) Subject: lib ldb: rename ltdb_cache to ldb_kv_cache X-Git-Tag: ldb-1.5.0~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72724f75ce97a1bf0b106bdf2e30cfb1729af765;p=thirdparty%2Fsamba.git lib ldb: rename ltdb_cache to ldb_kv_cache Rename ltdb_cache to ldb_kv_cache as it's key value level and not tdb specific Signed-off-by: Gary Lockyer Reviewed-by: Andrew Bartlett --- diff --git a/lib/ldb/ldb_tdb/ldb_cache.c b/lib/ldb/ldb_tdb/ldb_cache.c index 6c61e590709..9e81b61592f 100644 --- a/lib/ldb/ldb_tdb/ldb_cache.c +++ b/lib/ldb/ldb_tdb/ldb_cache.c @@ -418,7 +418,7 @@ int ldb_kv_cache_load(struct ldb_module *module) } if (ldb_kv->cache == NULL) { - ldb_kv->cache = talloc_zero(ldb_kv, struct ltdb_cache); + ldb_kv->cache = talloc_zero(ldb_kv, struct ldb_kv_cache); if (ldb_kv->cache == NULL) goto failed; } diff --git a/lib/ldb/ldb_tdb/ldb_tdb.h b/lib/ldb/ldb_tdb/ldb_tdb.h index ae9ce1fc6ee..f2a091bc325 100644 --- a/lib/ldb/ldb_tdb/ldb_tdb.h +++ b/lib/ldb/ldb_tdb/ldb_tdb.h @@ -58,7 +58,7 @@ struct ldb_kv_private { possible */ int tdb_seqnum; - struct ltdb_cache { + struct ldb_kv_cache { struct ldb_message *indexlist; bool one_level_indexes; bool attribute_indexes;