git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7559fc0
)
Fix build of the zfs_acl module.
author
Michael Adam
<obnox@samba.org>
Mon, 12 Nov 2007 11:49:40 +0000
(12:49 +0100)
committer
Michael Adam
<obnox@samba.org>
Tue, 13 Nov 2007 14:50:14 +0000
(15:50 +0100)
There was one caller of smb_get_nt_acl_nfs4() forgotten
in the change of return value.
Michael
(This used to be commit
4d3e84a3b3a39d3d2c9b86affa16c8124b1496e5
)
source3/modules/vfs_zfsacl.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_zfsacl.c
b/source3/modules/vfs_zfsacl.c
index d265931cf2a9c5d81cd1445bebebe127262a422b..0fe21b2909883483d76160544d96eb209f3e4276 100644
(file)
--- a/
source3/modules/vfs_zfsacl.c
+++ b/
source3/modules/vfs_zfsacl.c
@@
-65,7
+65,9
@@
static NTSTATUS zfs_get_nt_acl(struct files_struct *fsp, uint32 security_info,
return map_nt_error_from_unix(errno);
}
/* create SMB4ACL data */
- if((pacl = smb_create_smb4acl()) == NULL) return 0;
+ if((pacl = smb_create_smb4acl()) == NULL) {
+ return NT_STATUS_NO_MEMORY;
+ }
for(i=0; i<naces; i++) {
SMB_ACE4PROP_T aceprop;