summaryrefslogtreecommitdiff
path: root/source3/lib/gencache.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-03 16:24:27 +0200
committerVolker Lendecke <vl@samba.org>2008-07-03 16:40:46 +0200
commit352b5c18579c9610c15e5c24e012e60cd972b95a (patch)
treea8a70a226374f1c701430589f937f1e75bedae36 /source3/lib/gencache.c
parentc4503f5658282169f38ac87fd2d82a9b67273037 (diff)
downloadsamba-352b5c18579c9610c15e5c24e012e60cd972b95a.tar.gz
samba-352b5c18579c9610c15e5c24e012e60cd972b95a.tar.bz2
samba-352b5c18579c9610c15e5c24e012e60cd972b95a.zip
Remove gencache_[un]lock_entry
Günther agreed that it might be unnecessary in dsgetdcname_cache_store() :-) (This used to be commit 7a5a575ffe5196caecedc93970a25abfbe6f8059)
Diffstat (limited to 'source3/lib/gencache.c')
-rw-r--r--source3/lib/gencache.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/source3/lib/gencache.c b/source3/lib/gencache.c
index 1b4342a62b..a55b2ab9ba 100644
--- a/source3/lib/gencache.c
+++ b/source3/lib/gencache.c
@@ -484,28 +484,3 @@ void gencache_iterate(void (*fn)(const char* key, const char *value, time_t time
tdb_search_list_free(first_node);
}
-
-/********************************************************************
- lock a key
-********************************************************************/
-
-int gencache_lock_entry( const char *key )
-{
- if (!gencache_init())
- return -1;
-
- return tdb_lock_bystring(cache, key);
-}
-
-/********************************************************************
- unlock a key
-********************************************************************/
-
-void gencache_unlock_entry( const char *key )
-{
- if (!gencache_init())
- return;
-
- tdb_unlock_bystring(cache, key);
- return;
-}