vfs_acl_common: Do not fetch the underlying NT ACL unless we need it
commitf0e49b015bfcb021aea61615185d9da57538c68d
authorAndrew Bartlett <abartlet@samba.org>
Wed, 24 Oct 2012 06:03:41 +0000 (24 17:03 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 4 Feb 2013 11:19:30 +0000 (4 12:19 +0100)
tree6b806528423ca226171faedabef91a7c1866086b
parent4e8c8952ad8f4d1d658b947da2f1264bfeff8fdf
vfs_acl_common: Do not fetch the underlying NT ACL unless we need it

This avoids asking for the posix ACL on disk twice, and avoids running
a good deal of mapping code if it is not needed.

Andrew Bartlett

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Christian Ambach <ambi@samba.org>
source3/modules/vfs_acl_common.c