]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
nfs4_acls: Remove redundant logging from smbacl4_fill_ace4
authorChristof Schmitt <cs@samba.org>
Tue, 16 Jul 2019 22:50:36 +0000 (15:50 -0700)
committerChristof Schmitt <cs@samba.org>
Tue, 23 Jul 2019 18:27:27 +0000 (18:27 +0000)
Logging flags in case they do not match seems unnecessary. Other log
messages should show the flags as well.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14032

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/nfs4_acls.c

index c441280110930fc68136bf3a8c1f2e860566b172..fec1f3f88768783eaade83f55e5d6b4eed47ca72 100644 (file)
@@ -746,14 +746,6 @@ static int smbacl4_fill_ace4(
 
        se_map_generic(&ace_v4->aceMask, &file_generic_mapping);
 
-       if (ace_v4->aceFlags!=ace_nt->flags)
-               DEBUG(9, ("ace_v4->aceFlags(0x%x)!=ace_nt->flags(0x%x)\n",
-                       ace_v4->aceFlags, ace_nt->flags));
-
-       if (ace_v4->aceMask!=ace_nt->access_mask)
-               DEBUG(9, ("ace_v4->aceMask(0x%x)!=ace_nt->access_mask(0x%x)\n",
-                       ace_v4->aceMask, ace_nt->access_mask));
-
        if (dom_sid_equal(&ace_nt->trustee, &global_sid_World)) {
                ace_v4->who.special_id = SMB_ACE4_WHO_EVERYONE;
                ace_v4->flags |= SMB_ACE4_ID_SPECIAL;