summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-04-12 11:15:41 +0200
committerJeremy Allison <jra@samba.org>2013-04-17 14:49:58 -0700
commit3dafdd3c0b9523f65205254b5ad98e8959580f93 (patch)
tree14034b1aa41041a66cc1c98d61c5c30aab107319
parentbef6c7615c4b2af90fc44b650016f9a1947c1889 (diff)
downloadsamba-3dafdd3c0b9523f65205254b5ad98e8959580f93.tar.gz
samba-3dafdd3c0b9523f65205254b5ad98e8959580f93.tar.bz2
samba-3dafdd3c0b9523f65205254b5ad98e8959580f93.zip
vfs: Convert streams_xattr_streaminfo to synthetic_smb_fname
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--source3/modules/vfs_streams_xattr.c8
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);