vfs_posixacl: Remove unnecessary call to acl_set_permset
commit63b9b2a103a6762e18d0bf0f820f42bd85a8bdcc
authorChristof Schmitt <cs@samba.org>
Tue, 7 Jul 2020 05:27:59 +0000 (6 22:27 -0700)
committerChristof Schmitt <cs@samba.org>
Fri, 17 Jul 2020 18:33:41 +0000 (17 18:33 +0000)
treed6709a638e875fcb56de6ce7c4030a5b964f8c80
parent0b1bec434d1017216f4dd281db3fa3504b1039e4
vfs_posixacl: Remove unnecessary call to acl_set_permset

After the initial acl_get_permset, the permset is alreadying pointing to
the ACL entry and all changes are done on the ACL entry. There is no
need to overwrite the permissions in the ACL entry again with the same
value in the acl_set_permset call.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Fri Jul 17 18:33:41 UTC 2020 on sn-devel-184
source3/modules/vfs_posixacl.c