1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

vfs: Convert streams_xattr_open 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-12 11:14:39 +02:00 committed by Jeremy Allison
parent ec5ac9080b
commit bef6c7615c

View File

@ -394,12 +394,10 @@ static int streams_xattr_open(vfs_handle_struct *handle,
}
/* Create an smb_filename with stream_name == NULL. */
status = create_synthetic_smb_fname(talloc_tos(),
smb_fname->base_name,
NULL, NULL,
&smb_fname_base);
if (!NT_STATUS_IS_OK(status)) {
errno = map_errno_from_nt_status(status);
smb_fname_base = synthetic_smb_fname(
talloc_tos(), smb_fname->base_name, NULL, NULL);
if (smb_fname_base == NULL) {
errno = ENOMEM;
goto fail;
}