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:
parent
e3d883c0b1
commit
5ed188e492
@ -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;
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user