summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_create.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2017-05-18 12:29:50 -0700
committerJeremy Allison <jra@samba.org>2017-05-22 18:41:16 +0200
commitf2f936a961e184b6760400de9b0b72820c690b6e (patch)
tree040976ffe33d042b617f61071ff222ad29669e0f /source3/smbd/smb2_create.c
parent0fbf5b644d67df2bd47691f4240dbcaffaecc407 (diff)
downloadsamba-f2f936a961e184b6760400de9b0b72820c690b6e.tar.gz
s3: smbd: We can now remove the 'bool dfs_path' parameter from filename_convert().
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Uri Simchoni <uri@samba.org>
Diffstat (limited to 'source3/smbd/smb2_create.c')
-rw-r--r--source3/smbd/smb2_create.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c
index cba0781430e..5a371aeef84 100644
--- a/source3/smbd/smb2_create.c
+++ b/source3/smbd/smb2_create.c
@@ -405,7 +405,7 @@ static NTSTATUS smbd_smb2_create_durable_lease_check(struct smb_request *smb1req
}
ucf_flags = filename_create_ucf_flags(smb1req, FILE_OPEN);
- status = filename_convert(talloc_tos(), fsp->conn, false,
+ status = filename_convert(talloc_tos(), fsp->conn,
requested_filename, ucf_flags,
NULL, &smb_fname);
if (!NT_STATUS_IS_OK(status)) {
@@ -1106,7 +1106,6 @@ static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx,
ucf_flags = filename_create_ucf_flags(smb1req, in_create_disposition);
status = filename_convert(req,
smb1req->conn,
- smb1req->flags2 & FLAGS2_DFS_PATHNAMES,
fname,
ucf_flags,
NULL, /* ppath_contains_wcards */