]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: use fdos_mode() in set_create_timespec_ea()
authorRalph Boehme <slow@samba.org>
Mon, 19 Oct 2020 18:31:15 +0000 (20:31 +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/dosmode.c

index ef5bb39edd4327cc3957a4c140090200cb6f20b2..4b90ca87a12c29c309f71495298cd6a99bbbbba4 100644 (file)
@@ -1362,7 +1362,7 @@ NTSTATUS set_create_timespec_ea(connection_struct *conn,
                return NT_STATUS_NO_MEMORY;
        }
 
-       dosmode = dos_mode(conn, smb_fname);
+       dosmode = fdos_mode(psmb_fname->fsp);
 
        smb_fname->st.st_ex_btime = create_time;