summaryrefslogtreecommitdiffstats
path: root/source3/smbd/vfs.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-08-21 13:56:14 +0000
committerJeremy Allison <jra@samba.org>2014-08-11 21:11:16 +0200
commit446de4f680fad224f88c3373d92f8dd4caf8172d (patch)
treed05840100edc263c400842cae5851b4bd5f75958 /source3/smbd/vfs.c
parent86f914679f5a817bfb890995f2fc0beeeb765b88 (diff)
downloadsamba-446de4f680fad224f88c3373d92f8dd4caf8172d.tar.gz
samba-446de4f680fad224f88c3373d92f8dd4caf8172d.tar.xz
samba-446de4f680fad224f88c3373d92f8dd4caf8172d.zip
vfs3: Pass "lease" through SMB_VFS_CREATE_FILE
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/vfs.c')
-rw-r--r--source3/smbd/vfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index c219b1f62c..744db7ad7d 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -1542,6 +1542,7 @@ NTSTATUS smb_vfs_call_create_file(struct vfs_handle_struct *handle,
uint32_t create_options,
uint32_t file_attributes,
uint32_t oplock_request,
+ struct smb2_lease *lease,
uint64_t allocation_size,
uint32_t private_flags,
struct security_descriptor *sd,
@@ -1553,7 +1554,7 @@ NTSTATUS smb_vfs_call_create_file(struct vfs_handle_struct *handle,
return handle->fns->create_file_fn(
handle, req, root_dir_fid, smb_fname, access_mask,
share_access, create_disposition, create_options,
- file_attributes, oplock_request, allocation_size,
+ file_attributes, oplock_request, lease, allocation_size,
private_flags, sd, ea_list,
result, pinfo);
}