git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f7d9b2
)
vfstest: Convert cmd_set_nt_acl to synthetic_smb_fname
author
Volker Lendecke
<vl@samba.org>
Mon, 15 Apr 2013 09:49:54 +0000
(11:49 +0200)
committer
Jeremy Allison
<jra@samba.org>
Wed, 17 Apr 2013 21:50:03 +0000
(14:50 -0700)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/torture/cmd_vfs.c
patch
|
blob
|
history
diff --git
a/source3/torture/cmd_vfs.c
b/source3/torture/cmd_vfs.c
index 8e392741eb0a144711ed591a679a3164426bb9f1..1b202084a9843137ba2acbfd908c352d4dd86b63 100644
(file)
--- a/
source3/torture/cmd_vfs.c
+++ b/
source3/torture/cmd_vfs.c
@@
-1462,11
+1462,10
@@
static NTSTATUS cmd_set_nt_acl(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int a
}
fsp->conn = vfs->conn;
- status = create_synthetic_smb_fname_split(NULL, argv[1], NULL,
- &smb_fname);
- if (!NT_STATUS_IS_OK(status)) {
+ smb_fname = synthetic_smb_fname_split(NULL, argv[1], NULL);
+ if (smb_fname == NULL) {
TALLOC_FREE(fsp);
- return
status
;
+ return
NT_STATUS_NO_MEMORY
;
}
fsp->fsp_name = smb_fname;