mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
actually obey the "use mmap" smb.conf option
(This used to be commit b36c98036b
)
This commit is contained in:
@ -151,7 +151,7 @@ struct packet_struct *receive_unexpected(enum packet_type packet_type, int id,
|
||||
{
|
||||
TDB_CONTEXT *tdb2;
|
||||
|
||||
tdb2 = tdb_open(lock_path("unexpected.tdb"), 0, 0, O_RDONLY, 0);
|
||||
tdb2 = tdb_open_log(lock_path("unexpected.tdb"), 0, 0, O_RDONLY, 0);
|
||||
if (!tdb2) return NULL;
|
||||
|
||||
matched_packet = NULL;
|
||||
|
Reference in New Issue
Block a user