From 3dafdd3c0b9523f65205254b5ad98e8959580f93 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 12 Apr 2013 11:15:41 +0200 Subject: vfs: Convert streams_xattr_streaminfo to synthetic_smb_fname Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/modules/vfs_streams_xattr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3') diff --git a/source3/modules/vfs_streams_xattr.c b/source3/modules/vfs_streams_xattr.c index d46c61f850..de67197c71 100644 --- a/source3/modules/vfs_streams_xattr.c +++ b/source3/modules/vfs_streams_xattr.c @@ -788,10 +788,10 @@ static NTSTATUS streams_xattr_streaminfo(vfs_handle_struct *handle, } else { struct smb_filename *smb_fname = NULL; - status = create_synthetic_smb_fname(talloc_tos(), fname, NULL, - NULL, &smb_fname); - if (!NT_STATUS_IS_OK(status)) { - return status; + smb_fname = synthetic_smb_fname(talloc_tos(), fname, NULL, + NULL); + if (smb_fname == NULL) { + return NT_STATUS_NO_MEMORY; } if (lp_posix_pathnames()) { ret = SMB_VFS_LSTAT(handle->conn, smb_fname); -- cgit