summaryrefslogtreecommitdiffstats
path: root/source3/lib/gencache.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/gencache.c')
-rw-r--r--source3/lib/gencache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/gencache.c b/source3/lib/gencache.c
index 94e4939d47..baedf85423 100644
--- a/source3/lib/gencache.c
+++ b/source3/lib/gencache.c
@@ -127,7 +127,8 @@ static bool gencache_init(void)
TDB_CLEAR_IF_FIRST|
TDB_INCOMPATIBLE_HASH|
TDB_SEQNUM|
- TDB_NOSYNC,
+ TDB_NOSYNC|
+ TDB_MUTEX_LOCKING,
open_flags, 0644);
if (cache_notrans == NULL) {
DEBUG(5, ("Opening %s failed: %s\n", cache_fname,