1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

Fix build of the zfs_acl module.

There was one caller of smb_get_nt_acl_nfs4() forgotten
in the change of return value.

Michael
This commit is contained in:
Michael Adam
2007-11-12 12:49:40 +01:00
parent a2949fd7a5
commit 4d3e84a3b3

View File

@ -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;