mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
smbd: Convert filename_convert_internal to synthetic_smb_fname
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
0b147201bd
commit
1675bf379c
@ -1334,11 +1334,13 @@ static NTSTATUS filename_convert_internal(TALLOC_CTX *ctx,
|
||||
SMB_STRUCT_STAT st;
|
||||
ZERO_STRUCT(st);
|
||||
st.st_ex_nlink = 1;
|
||||
status = create_synthetic_smb_fname_split(ctx,
|
||||
*pp_smb_fname = synthetic_smb_fname_split(ctx,
|
||||
name_in,
|
||||
&st,
|
||||
pp_smb_fname);
|
||||
return status;
|
||||
&st);
|
||||
if (*pp_smb_fname == NULL) {
|
||||
return NT_STATUS_NO_MEMORY;
|
||||
}
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user