From 174275e069c107ee021e212462a1a15a77264b5e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 21 Aug 2013 15:58:23 +0000 Subject: [PATCH] smbd: Pass down "lease" to open_file_ntcreate Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/smbd/open.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source3/smbd/open.c b/source3/smbd/open.c index da8dc7b456f..27625193fa8 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -2061,6 +2061,7 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn, uint32 create_options, /* options such as delete on close. */ uint32 new_dos_attributes, /* attributes used for new file. */ int oplock_request, /* internal Samba oplock codes. */ + struct smb2_lease *lease, /* Information (FILE_EXISTS etc.) */ uint32_t private_flags, /* Samba specific flags. */ int *pinfo, @@ -3991,6 +3992,7 @@ static NTSTATUS create_file_unixpath(connection_struct *conn, create_options, file_attributes, oplock_request, + lease, private_flags, &info, fsp); -- 2.11.4.GIT