]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs: Rename variables in streams_depot_renameat()
authorVolker Lendecke <vl@samba.org>
Fri, 17 Jan 2025 12:24:11 +0000 (13:24 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 23 Jan 2025 23:08:38 +0000 (23:08 +0000)
These are directory fsps

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_streams_depot.c

index 408ff02e5596716c3fc35360b86180aad4fb4a5f..77f16ab703c199b6bfee4530a7b0d3f36c82f5ac 100644 (file)
@@ -956,9 +956,9 @@ static int streams_depot_unlinkat(vfs_handle_struct *handle,
 }
 
 static int streams_depot_renameat(vfs_handle_struct *handle,
-                               files_struct *srcfsp,
+                               files_struct *src_dirfsp,
                                const struct smb_filename *smb_fname_src,
-                               files_struct *dstfsp,
+                               files_struct *dst_dirfsp,
                                const struct smb_filename *smb_fname_dst,
                                const struct vfs_rename_how *how)
 {
@@ -979,9 +979,9 @@ static int streams_depot_renameat(vfs_handle_struct *handle,
 
        if (!src_is_stream && !dst_is_stream) {
                return SMB_VFS_NEXT_RENAMEAT(handle,
-                                       srcfsp,
+                                       src_dirfsp,
                                        smb_fname_src,
-                                       dstfsp,
+                                       dst_dirfsp,
                                        smb_fname_dst,
                                        how);
        }
@@ -999,7 +999,7 @@ static int streams_depot_renameat(vfs_handle_struct *handle,
        }
 
        full_src = full_path_from_dirfsp_atname(talloc_tos(),
-                                               srcfsp,
+                                               src_dirfsp,
                                                smb_fname_src);
        if (full_src == NULL) {
                errno = ENOMEM;
@@ -1007,7 +1007,7 @@ static int streams_depot_renameat(vfs_handle_struct *handle,
        }
 
        full_dst = full_path_from_dirfsp_atname(talloc_tos(),
-                                               dstfsp,
+                                               dst_dirfsp,
                                                smb_fname_dst);
        if (full_dst == NULL) {
                errno = ENOMEM;