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 | c26e0d3f27a05ecc8bd2390f9aab7f9451524e47 (patch) | |
tree | 821fd25b0b795124d6f09248abded604676c3d30 /source/locking | |
parent | 408c0595bbeafca87795e5278656471fbe0540e8 (diff) | |
download | samba-c26e0d3f27a05ecc8bd2390f9aab7f9451524e47.tar.gz samba-c26e0d3f27a05ecc8bd2390f9aab7f9451524e47.tar.xz samba-c26e0d3f27a05ecc8bd2390f9aab7f9451524e47.zip |
got rid of USE_TDB_MMAP_FLAG as its not needed any more
Diffstat (limited to 'source/locking')
-rw-r--r-- | source/locking/brlock.c | 2 | ||||
-rw-r--r-- | source/locking/locking.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/locking/brlock.c b/source/locking/brlock.c index f4c41d03490..2b21761cb22 100644 --- a/source/locking/brlock.c +++ b/source/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/source/locking/locking.c b/source/locking/locking.c index a1e4ba6d6c7..4092c989d05 100644 --- a/source/locking/locking.c +++ b/source/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); |