]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Got rid of superfluous acl_clear_perms() call that Antti Tapaninen
authorWayne Davison <wayned@samba.org>
Fri, 25 May 2007 14:16:57 +0000 (14:16 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 25 May 2007 14:16:57 +0000 (14:16 +0000)
pointed out.

lib/sysacls.c

index b57d9d05a3203ab6646e48a8506dab307b949f1b..b2215d0b191b2cec923cb592941d76dfe54ec4f1 100644 (file)
@@ -279,7 +279,6 @@ int sys_acl_set_access_bits(SMB_ACL_ENTRY_T entry, uint32 bits)
        int rc;
        if ((rc = acl_get_permset(entry, &permset)) != 0)
                return rc;
-       acl_clear_perms(permset);
        *permset = bits & 7;
        return acl_set_permset(entry, permset);
 }