git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
855ca77
)
vfs: Convert hpuxacl_sys_acl_set_file to synthetic_smb_fname
author
Volker Lendecke
<vl@samba.org>
Fri, 12 Apr 2013 08:56:53 +0000
(10:56 +0200)
committer
Jeremy Allison
<jra@samba.org>
Wed, 17 Apr 2013 21:49:57 +0000
(14:49 -0700)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_hpuxacl.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_hpuxacl.c
b/source3/modules/vfs_hpuxacl.c
index a05ca44f2484bc90b81a6cde127ee180b33aa857..7ffb847d6bc2519244ea649da420ab09d85f6072 100644
(file)
--- a/
source3/modules/vfs_hpuxacl.c
+++ b/
source3/modules/vfs_hpuxacl.c
@@
-221,9
+221,9
@@
int hpuxacl_sys_acl_set_file(vfs_handle_struct *handle,
DEBUG(10, ("hpuxacl_sys_acl_set_file called for file '%s'\n",
name));
- s
tatus = create_synthetic_smb_fname(talloc_tos(), name, NULL, NULL,
- &smb_fname);
- if (!NT_STATUS_IS_OK(status)) {
+ s
mb_fname = synthetic_smb_fname(talloc_tos(), name, NULL, NULL);
+ if (smb_fname == NULL) {
+ status = NT_STATUS_NO_MEMORY;
goto done;
}