git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bef6c76
)
vfs: Convert streams_xattr_streaminfo to synthetic_smb_fname
author
Volker Lendecke
<vl@samba.org>
Fri, 12 Apr 2013 09:15:41 +0000
(11:15 +0200)
committer
Jeremy Allison
<jra@samba.org>
Wed, 17 Apr 2013 21:49:58 +0000
(14:49 -0700)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_streams_xattr.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_streams_xattr.c
b/source3/modules/vfs_streams_xattr.c
index d46c61f8503e4aca04cafe1be83773805d7941c3..de67197c71ac0f206e09afd44669bc81332d7b1a 100644
(file)
--- 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;
- s
tatus = create_
synthetic_smb_fname(talloc_tos(), fname, NULL,
-
NULL, &smb_fname
);
- if (
!NT_STATUS_IS_OK(status)
) {
- return
status
;
+ s
mb_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);