]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_zfsacl: README.Coding fix
authorRalph Boehme <slow@samba.org>
Thu, 20 Aug 2020 14:42:17 +0000 (16:42 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 30 Oct 2020 13:54:18 +0000 (13:54 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14471

Pair-Programmed-With: Andrew Walker <awalker@ixsystems.com>
Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit a182f2e6cdded739812e209430d340097acc0031)

source3/modules/vfs_zfsacl.c

index f5deeb11cc6bd9fbdd717c3389a1374601e4c686..18bd84ea99c3a1feb3f102f21e3c654f77c9f97a 100644 (file)
@@ -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