1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3: smbd: vfs_virusfilter: Use SMB_VFS_RENAMEAT() instead of SMB_VFS_RENAME.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Jeremy Allison 2019-08-09 16:26:10 -07:00
parent 25c1b853cf
commit 2056418396

View File

@ -52,7 +52,11 @@ int virusfilter_vfs_next_move(
{
int result;
result = SMB_VFS_NEXT_RENAME(vfs_h, smb_fname_src, smb_fname_dst);
result = SMB_VFS_NEXT_RENAMEAT(vfs_h,
vfs_h->conn->cwd_fsp,
smb_fname_src,
vfs_h->conn->cwd_fsp,
smb_fname_dst);
if (result == 0 || errno != EXDEV) {
return result;
}