From: Ralph Boehme Date: Mon, 19 Oct 2020 18:32:49 +0000 (+0200) Subject: smbd: use fdos_mode() in mark_file_modified() X-Git-Tag: samba-4.14.0rc1~291 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a649ebed44a40822b04620fed34e041978628c05;p=thirdparty%2Fsamba.git smbd: use fdos_mode() in mark_file_modified() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/fileio.c b/source3/smbd/fileio.c index 38f2ab90229..e5de8272734 100644 --- a/source3/smbd/fileio.c +++ b/source3/smbd/fileio.c @@ -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; }