smbd: add dirfsp arg to SMB_VFS_CREATE_FILE()
[samba.git] / source3 / smbd / vfs.c
index d1585321ed3b6df1b934d60e57ae43795a23a32b..dbb2c05493b3c3d52e51d53407b00bdcc849869c 100644 (file)
@@ -1726,6 +1726,7 @@ int smb_vfs_call_open(struct vfs_handle_struct *handle,
 
 NTSTATUS smb_vfs_call_create_file(struct vfs_handle_struct *handle,
                                  struct smb_request *req,
+                                 struct files_struct **dirfsp,
                                  struct smb_filename *smb_fname,
                                  uint32_t access_mask,
                                  uint32_t share_access,
@@ -1745,8 +1746,8 @@ NTSTATUS smb_vfs_call_create_file(struct vfs_handle_struct *handle,
 {
        VFS_FIND(create_file);
        return handle->fns->create_file_fn(
-               handle, req, smb_fname, access_mask,
-               share_access, create_disposition, create_options,
+               handle, req, dirfsp, smb_fname,
+               access_mask, share_access, create_disposition, create_options,
                file_attributes, oplock_request, lease, allocation_size,
                private_flags, sd, ea_list,
                result, pinfo, in_context_blobs, out_context_blobs);