summaryrefslogtreecommitdiff
path: root/source3/locking/locking.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-09-06 22:08:19 +0000
committerAndrew Tridgell <tridge@samba.org>2001-09-06 22:08:19 +0000
commit9a9ac2739bbdc993ecdfa78298bdd9c059328378 (patch)
treefb5d245f31a6bea0d31c124d4dec78ae8847ae3b /source3/locking/locking.c
parenta92f02a0a05b5309644befe57119e799be08177f (diff)
downloadsamba-9a9ac2739bbdc993ecdfa78298bdd9c059328378.tar.gz
samba-9a9ac2739bbdc993ecdfa78298bdd9c059328378.tar.bz2
samba-9a9ac2739bbdc993ecdfa78298bdd9c059328378.zip
got rid of USE_TDB_MMAP_FLAG as its not needed any more
(This used to be commit c26e0d3f27a05ecc8bd2390f9aab7f9451524e47)
Diffstat (limited to 'source3/locking/locking.c')
-rw-r--r--source3/locking/locking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index a1e4ba6d6c..4092c989d0 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -284,7 +284,7 @@ BOOL locking_init(int read_only)
return True;
tdb = tdb_open_log(lock_path("locking.tdb"),
- 0, USE_TDB_MMAP_FLAG|(read_only?0x0:TDB_CLEAR_IF_FIRST),
+ 0, TDB_DEFAULT|(read_only?0x0:TDB_CLEAR_IF_FIRST),
read_only?O_RDONLY:O_RDWR|O_CREAT,
0644);