From bde16030a297e87c81c6b0e5be7b1d93cdd0dd60 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Mon, 19 Oct 2020 20:32:05 +0200 Subject: [PATCH] smbd: use fdos_mode() in vfs_default_durable_reconnect() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- source3/smbd/durable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/durable.c b/source3/smbd/durable.c index d905c7dd552..8cd5e4241fa 100644 --- a/source3/smbd/durable.c +++ b/source3/smbd/durable.c @@ -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, -- 2.47.3