mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
gencache: Request mutexes for gencache_notrans.tdb
The check in tdb_wrap ensures that mutexes are only used on systems that properly support them. Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Wed Nov 26 19:04:11 CET 2014 on sn-devel-104
This commit is contained in:
parent
f80bbba287
commit
068f9e2648
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user