mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
smbd: Convert driver_unlink_internals 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
2b97eb13ff
commit
ea519ec5ce
@ -1556,9 +1556,8 @@ static NTSTATUS driver_unlink_internals(connection_struct *conn,
|
||||
goto err_out;
|
||||
}
|
||||
|
||||
status = create_synthetic_smb_fname(tmp_ctx, print_dlr_path,
|
||||
NULL, NULL, &smb_fname);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
smb_fname = synthetic_smb_fname(tmp_ctx, print_dlr_path, NULL, NULL);
|
||||
if (smb_fname == NULL) {
|
||||
goto err_out;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user