diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-09-06 22:08:19 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-09-06 22:08:19 +0000 |
commit | 9a9ac2739bbdc993ecdfa78298bdd9c059328378 (patch) | |
tree | fb5d245f31a6bea0d31c124d4dec78ae8847ae3b /source3/locking | |
parent | a92f02a0a05b5309644befe57119e799be08177f (diff) | |
download | samba-9a9ac2739bbdc993ecdfa78298bdd9c059328378.tar.gz samba-9a9ac2739bbdc993ecdfa78298bdd9c059328378.tar.xz 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')
-rw-r--r-- | source3/locking/brlock.c | 2 | ||||
-rw-r--r-- | source3/locking/locking.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c index f4c41d03490..2b21761cb22 100644 --- a/source3/locking/brlock.c +++ b/source3/locking/brlock.c @@ -229,7 +229,7 @@ void brl_init(int read_only) if (tdb) return; - tdb = tdb_open_log(lock_path("brlock.tdb"), 0, USE_TDB_MMAP_FLAG|(read_only?0x0:TDB_CLEAR_IF_FIRST), + tdb = tdb_open_log(lock_path("brlock.tdb"), 0, TDB_DEFAULT|(read_only?0x0:TDB_CLEAR_IF_FIRST), read_only?O_RDONLY:(O_RDWR|O_CREAT), 0644); if (!tdb) { DEBUG(0,("Failed to open byte range locking database\n")); diff --git a/source3/locking/locking.c b/source3/locking/locking.c index a1e4ba6d6c7..4092c989d05 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); |