summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2018-07-20 13:31:27 +1200
committerAndrew Bartlett <abartlet@samba.org>2018-07-30 14:31:53 +0200
commit72724f75ce97a1bf0b106bdf2e30cfb1729af765 (patch)
tree9f2a499758a9a5fea4e7fbae4f18f7acc9cbca1b /lib
parentb8c9c305b3a1fa5103fb8af63768f8abf681106c (diff)
downloadsamba-72724f75ce97a1bf0b106bdf2e30cfb1729af765.tar.gz
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 <gary@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/ldb/ldb_tdb/ldb_cache.c2
-rw-r--r--lib/ldb/ldb_tdb/ldb_tdb.h2
2 files changed, 2 insertions, 2 deletions
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;