]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: use fdos_mode() in mark_file_modified()
authorRalph Boehme <slow@samba.org>
Mon, 19 Oct 2020 18:32:49 +0000 (20:32 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 16 Dec 2020 09:08:31 +0000 (09:08 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/fileio.c

index 38f2ab90229601c9b982eb3ead7ef62bd0a2a386..e5de8272734aa53b074f37a6ea3b83a88e40151b 100644 (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;
        }