1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

smbd: remove const from smb_fname arg of set_ea_dos_attribute()

We need to update the btime of fsp->fsp_name->st.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14215

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Ralph Boehme 2022-08-21 13:38:16 +02:00 committed by Jeremy Allison
parent e3d883c0b1
commit 5ed188e492
2 changed files with 2 additions and 2 deletions

View File

@ -407,7 +407,7 @@ NTSTATUS fget_ea_dos_attribute(struct files_struct *fsp,
****************************************************************************/
NTSTATUS set_ea_dos_attribute(connection_struct *conn,
const struct smb_filename *smb_fname,
struct smb_filename *smb_fname,
uint32_t dosmode)
{
struct xattr_DOSATTRIB dosattrib;

View File

@ -287,7 +287,7 @@ bool set_sticky_write_time_fsp(struct files_struct *fsp,
NTSTATUS fget_ea_dos_attribute(struct files_struct *fsp,
uint32_t *pattr);
NTSTATUS set_ea_dos_attribute(connection_struct *conn,
const struct smb_filename *smb_fname,
struct smb_filename *smb_fname,
uint32_t dosmode);
NTSTATUS set_create_timespec_ea(struct files_struct *fsp,