diff options
author | Volker Lendecke <vl@samba.org> | 2019-07-05 09:52:43 +0200 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2019-07-08 16:22:37 +0000 |
commit | 32766db210426d92948a7d81d923f9d669ff3ed6 (patch) | |
tree | 2234328fdb36c1855c8c79ba40b6c63ab8edcda9 /source3/wscript_build | |
parent | b16f7113ebfe324b847f136912d24a25b983aae5 (diff) | |
download | samba-32766db210426d92948a7d81d923f9d669ff3ed6.tar.gz |
smbd: Move fcb_or_dos_open() out of open_file_ntcreate()
This is SMB1-only and pre-ntcreate with only 3 callers that look at
NTCREATEX_OPTIONS_PRIVATE_DENY_[DOS|FCB]. It is a bit less efficient
if it kicks in (we have to recreate the fsp), but SMB1 is less and
less popular, and this particular share mode combination from the
open&x family of calls might not be worth optimizing for.
This adds smb1_utils.[ch] as a kitchen sink for functions that can go
away once we drop SMB1.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/wscript_build')
-rw-r--r-- | source3/wscript_build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/wscript_build b/source3/wscript_build index 7d44071225e..aa3c7175202 100644 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -718,6 +718,7 @@ bld.SAMBA3_LIBRARY('smbd_base', smbd/notify.c smbd/notify_msg.c smbd/build_options.c + smbd/smb1_utils.c ''' + NOTIFY_SOURCES, deps=''' talloc |