mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
smbd: Expand IS_DOS_ARCHIVE() macros
Together with the "dosmode | FILE_ATTRIBUTE_ARCHIVE" a line below this is more obvious to me. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
226a7c7bc3
commit
2829577594
@ -246,7 +246,7 @@ void mark_file_modified(files_struct *fsp)
|
||||
}
|
||||
|
||||
dosmode = fdos_mode(fsp);
|
||||
if (IS_DOS_ARCHIVE(dosmode)) {
|
||||
if (dosmode & FILE_ATTRIBUTE_ARCHIVE) {
|
||||
return;
|
||||
}
|
||||
file_set_dosmode(fsp->conn, fsp->fsp_name,
|
||||
|
Loading…
Reference in New Issue
Block a user