From: Ralph Boehme Date: Fri, 30 Oct 2020 15:08:03 +0000 (+0100) Subject: smbd: use fdos_mode() in rename_internals_fsp() X-Git-Tag: samba-4.14.0rc1~277 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=812e59c6998cd1c6d877087d1feff8b2aebc0f29;p=thirdparty%2Fsamba.git smbd: use fdos_mode() in rename_internals_fsp() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index d35982118b9..2eae01bedf9 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -7829,7 +7829,7 @@ NTSTATUS rename_internals_fsp(connection_struct *conn, uint32_t old_dosmode; fsp->fsp_name->st = smb_fname_dst->st; - old_dosmode = dos_mode(conn, smb_fname_dst); + old_dosmode = fdos_mode(fsp); file_set_dosmode(conn, smb_fname_dst,