From: Ralph Boehme Date: Thu, 20 Aug 2020 14:42:17 +0000 (+0200) Subject: vfs_zfsacl: README.Coding fix X-Git-Tag: samba-4.12.10~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b260c3003bbb0ca9f539ad5cae5364c0fcd5515b;p=thirdparty%2Fsamba.git vfs_zfsacl: README.Coding fix BUG: https://bugzilla.samba.org/show_bug.cgi?id=14471 Pair-Programmed-With: Andrew Walker Signed-off-by: Ralph Boehme Signed-off-by: Andrew Walker Reviewed-by: Jeremy Allison (cherry picked from commit a182f2e6cdded739812e209430d340097acc0031) --- diff --git a/source3/modules/vfs_zfsacl.c b/source3/modules/vfs_zfsacl.c index f5deeb11cc6..18bd84ea99c 100644 --- a/source3/modules/vfs_zfsacl.c +++ b/source3/modules/vfs_zfsacl.c @@ -130,8 +130,9 @@ static NTSTATUS zfs_get_nt_acl_common(struct connection_struct *conn, } else { aceprop.flags = 0; } - if(smb_add_ace4(pacl, &aceprop) == NULL) + if (smb_add_ace4(pacl, &aceprop) == NULL) { return NT_STATUS_NO_MEMORY; + } } #ifdef ACE_INHERITED_ACE