]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbd: Pass in the newly created parent_dir_fname and smb_fname_atname to open_dir...
authorJeremy Allison <jra@samba.org>
Mon, 24 May 2021 23:13:14 +0000 (16:13 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 9 Jun 2021 13:14:30 +0000 (13:14 +0000)
Not yet used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/open.c

index 19f5184bb71e87a29167a6bfcdd51b2ab61ab484..cbe8fa5ac8f8b5f81d07dba9fe6f69471e9152b5 100644 (file)
@@ -4572,6 +4572,8 @@ static NTSTATUS open_directory(connection_struct *conn,
                               uint32_t create_disposition,
                               uint32_t create_options,
                               uint32_t file_attributes,
+                              struct smb_filename *parent_dir_fname,
+                              struct smb_filename *smb_fname_atname,
                               int *pinfo,
                               struct files_struct *fsp)
 {
@@ -6073,6 +6075,8 @@ static NTSTATUS create_file_unixpath(connection_struct *conn,
                                        create_disposition,
                                        create_options,
                                        file_attributes,
+                                       parent_dir_fname,
+                                       smb_fname_atname,
                                        &info,
                                        fsp);
        } else {
@@ -6125,6 +6129,8 @@ static NTSTATUS create_file_unixpath(connection_struct *conn,
                                                create_disposition,
                                                create_options,
                                                file_attributes,
+                                               parent_dir_fname,
+                                               smb_fname_atname,
                                                &info,
                                                fsp);
                }