diff options
author | Jeremy Allison <jra@samba.org> | 2020-09-29 14:08:09 -0700 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2020-09-30 20:46:42 +0000 |
commit | ff4e8b2c841ac2d901faeac42f8625110440b56a (patch) | |
tree | 3285ee2b1d7826901e744f12f9f1525d514de641 /source3/smbd/smb2_create.c | |
parent | 4d7cdefb9d1454fa5975def03d40910b606c4d99 (diff) | |
download | samba-ff4e8b2c841ac2d901faeac42f8625110440b56a.tar.gz |
s3: smbd: All callers to filename_convert() pass in NULL for the 'bool *ppath_contains_wcard' parameter.
Remove it.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/smbd/smb2_create.c')
-rw-r--r-- | source3/smbd/smb2_create.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c index 05fa704da72..c082b806743 100644 --- a/source3/smbd/smb2_create.c +++ b/source3/smbd/smb2_create.c @@ -461,7 +461,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, filename, ucf_flags, - 0, NULL, &smb_fname); + 0, &smb_fname); TALLOC_FREE(filename); if (!NT_STATUS_IS_OK(status)) { DEBUG(10, ("filename_convert returned %s\n", @@ -946,7 +946,6 @@ static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx, state->fname, ucf_flags, state->twrp_time, - NULL, /* ppath_contains_wcards */ &smb_fname); if (!NT_STATUS_IS_OK(status)) { tevent_req_nterror(req, status); |