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:
parent
15f438dd22
commit
730f6d597e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user