1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-26 18:50:30 +03:00

s3: smbd: set_ea_dos_attribute(), can_write_to_file() -> can_write_to_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Jeremy Allison 2021-06-02 11:39:15 -07:00 committed by Ralph Boehme
parent 66dd861245
commit 161836b24d

View File

@ -512,9 +512,7 @@ NTSTATUS set_ea_dos_attribute(connection_struct *conn,
}
if (!set_dosmode_ok && lp_dos_filemode(SNUM(conn))) {
set_dosmode_ok = can_write_to_file(conn,
conn->cwd_fsp,
smb_fname);
set_dosmode_ok = can_write_to_fsp(smb_fname->fsp);
}
if (!set_dosmode_ok) {