From b2f942cfe2672fac9449ce730b18cf7b5fc6e1f0 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 12 Nov 2007 12:49:40 +0100 Subject: [PATCH] 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 used to be commit 4d3e84a3b3a39d3d2c9b86affa16c8124b1496e5) --- source3/modules/vfs_zfsacl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source3/modules/vfs_zfsacl.c b/source3/modules/vfs_zfsacl.c index d265931cf2a..0fe21b29098 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