vfs_acl_common: check for ignore_system_acls before fetching filesystem ACL
authorRalph Boehme <slow@samba.org>
Wed, 24 Aug 2016 08:43:47 +0000 (10:43 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 30 Aug 2016 19:12:25 +0000 (21:12 +0200)
commitf46179ef7310959af095b0ea6234df7523d15457
treec89b71534ffe89aaa0bcba0fdb16546fe1fe605f
parent10959698e20de381beec7ab532c8bdc32fa6401c
vfs_acl_common: check for ignore_system_acls before fetching filesystem ACL

If ignore_system_acls is set and we're synthesizing a default ACL, we
were fetching the filesystem ACL just to free it again. This change
avoids this.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12177

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_acl_common.c