summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-07-10 12:03:35 +0200
committerVolker Lendecke <vl@samba.org>2009-07-15 10:55:20 +0200
commite5a34b2533720ebb9181c0edebad6774ceeff189 (patch)
tree04d46d81cdfffa0306b3659d28f5224ec06500ba /source3/libsmb
parent3e965d017d243f0a99e7838e6c92c37df270486c (diff)
downloadsamba-e5a34b2533720ebb9181c0edebad6774ceeff189.tar.gz
samba-e5a34b2533720ebb9181c0edebad6774ceeff189.tar.bz2
samba-e5a34b2533720ebb9181c0edebad6774ceeff189.zip
Remove gencache_[un]lock_key
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/dsgetdcname.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c
index fb87b4dc9a..8dee6926d2 100644
--- a/source3/libsmb/dsgetdcname.c
+++ b/source3/libsmb/dsgetdcname.c
@@ -171,14 +171,8 @@ static NTSTATUS dsgetdcname_cache_store(TALLOC_CTX *mem_ctx,
expire_time = time(NULL) + DSGETDCNAME_CACHE_TTL;
- if (gencache_lock_entry(key) != 0) {
- return NT_STATUS_LOCK_NOT_GRANTED;
- }
-
ret = gencache_set_data_blob(key, blob, expire_time);
- gencache_unlock_entry(key);
-
return ret ? NT_STATUS_OK : NT_STATUS_UNSUCCESSFUL;
}