]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_catia: forward pathref fsp in catia_unlinkat()
authorRalph Boehme <slow@samba.org>
Wed, 20 Jan 2021 13:59:36 +0000 (14:59 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 28 Jan 2021 08:11:49 +0000 (08:11 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_catia.c

index 355e11279984b4b1151859d9d3e4520b132abd32..e7827b7f05a3d5ec5da7276ed4c6fc9d1ff0d3bc 100644 (file)
@@ -683,6 +683,8 @@ static int catia_unlinkat(vfs_handle_struct *handle,
        }
 
        smb_fname_tmp->base_name = name;
+       smb_fname_tmp->fsp = smb_fname->fsp;
+
        ret = SMB_VFS_NEXT_UNLINKAT(handle,
                        dirfsp,
                        smb_fname_tmp,