1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

smbd: realign synthetic_smb_fname() args in open_np_file()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Ralph Boehme 2020-05-03 15:08:20 +02:00 committed by Jeremy Allison
parent 15f438dd22
commit 730f6d597e

View File

@ -51,7 +51,11 @@ NTSTATUS open_np_file(struct smb_request *smb_req, const char *name,
fsp->fsp_flags.can_lock = false;
fsp->access_mask = FILE_READ_DATA | FILE_WRITE_DATA;
smb_fname = synthetic_smb_fname(talloc_tos(), name, NULL, NULL, 0);
smb_fname = synthetic_smb_fname(talloc_tos(),
name,
NULL,
NULL,
0);
if (smb_fname == NULL) {
file_free(smb_req, fsp);
return NT_STATUS_NO_MEMORY;