Got rid of superfluous acl_clear_perms() call that Antti Tapaninen

pointed out.
This commit is contained in:
Wayne Davison
2007-05-25 14:16:57 +00:00
parent 0e5dd89866
commit 898fab2577

View 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);
}