diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/vfs_zfsacl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/modules/vfs_zfsacl.c b/source3/modules/vfs_zfsacl.c index d265931cf2..0fe21b2909 100644 --- 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; |