mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
smbd: use fdos_mode() in mark_file_modified()
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
bde16030a2
commit
a649ebed44
@ -245,7 +245,7 @@ void mark_file_modified(files_struct *fsp)
|
||||
return;
|
||||
}
|
||||
|
||||
dosmode = dos_mode(fsp->conn, fsp->fsp_name);
|
||||
dosmode = fdos_mode(fsp);
|
||||
if (IS_DOS_ARCHIVE(dosmode)) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user