1
0
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:
Ralph Boehme 2020-10-19 20:32:49 +02:00
parent bde16030a2
commit a649ebed44

View File

@ -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;
}