]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: use fdos_mode() in vfs_default_durable_reconnect()
authorRalph Boehme <slow@samba.org>
Mon, 19 Oct 2020 18:32:05 +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/durable.c

index d905c7dd552761f5b64243b33295f0e7a7457bdd..8cd5e4241faa0a80fa6ec8ae5c3fe268208e2073 100644 (file)
@@ -877,7 +877,7 @@ NTSTATUS vfs_default_durable_reconnect(struct connection_struct *conn,
                return NT_STATUS_OBJECT_NAME_NOT_FOUND;
        }
 
-       (void)dos_mode(fsp->conn, fsp->fsp_name);
+       (void)fdos_mode(fsp);
 
        ok = vfs_default_durable_reconnect_check_stat(&cookie.stat_info,
                                                      &fsp->fsp_name->st,