diff options
Diffstat (limited to 'source3/modules/vfs_streams_xattr.c')
-rw-r--r-- | source3/modules/vfs_streams_xattr.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); |