]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: un-const smb_fname_dst_in arg of rename_internals_fsp()
authorRalph Boehme <slow@samba.org>
Thu, 29 Oct 2020 17:30:19 +0000 (18:30 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 16 Dec 2020 09:08:31 +0000 (09:08 +0000)
A subsequent commit is going to modify smb_fname_dst_in.

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

index 32bff0a6c30a8e86513acd9d561dc3c7b3c5e069..7a08782dfa3924d4f0d7259dc0d710f2f63b9eb3 100644 (file)
@@ -1024,7 +1024,7 @@ void reply_mkdir(struct smb_request *req);
 void reply_rmdir(struct smb_request *req);
 NTSTATUS rename_internals_fsp(connection_struct *conn,
                        files_struct *fsp,
-                       const struct smb_filename *smb_fname_dst_in,
+                       struct smb_filename *smb_fname_dst_in,
                        const char *dst_original_lcomp,
                        uint32_t attrs,
                        bool replace_if_exists);
index 5f7be3727acfb93ae69f6af95724feb1b695243c..e5d883bd351b12605b0452c1b5cf2c82358ceea2 100644 (file)
@@ -7544,7 +7544,7 @@ static NTSTATUS parent_dirname_compatible_open(connection_struct *conn,
 
 NTSTATUS rename_internals_fsp(connection_struct *conn,
                        files_struct *fsp,
-                       const struct smb_filename *smb_fname_dst_in,
+                       struct smb_filename *smb_fname_dst_in,
                        const char *dst_original_lcomp,
                        uint32_t attrs,
                        bool replace_if_exists)