Commit 898fab25 authored by Wayne Davison's avatar Wayne Davison

Got rid of superfluous acl_clear_perms() call that Antti Tapaninen

pointed out.
parent 0e5dd898
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment