1
0
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:
Volker Lendecke 2013-04-15 11:50:51 +02:00 committed by Jeremy Allison
parent 2b97eb13ff
commit ea519ec5ce

View File

@ -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;
}