vfs_zfsacl: return synthesized ACL when ZFS return ENOTSUP
authorRalph Boehme <slow@samba.org>
Tue, 5 Dec 2017 07:28:28 +0000 (08:28 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 18 May 2018 20:03:21 +0000 (22:03 +0200)
commitf93cc232377d4c686ac35ee5e14e798974bc0700
treeb8d2faf611d385abc67241bb255f1744bff3978e
parentec2a40831359ae93f437ef76f8ba76bbd95bc6dc
vfs_zfsacl: return synthesized ACL when ZFS return ENOTSUP

This allows accessing the ZFS .snapshots directory where ZFS returns
ENOTSUP when calling acl(".snapshots").

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri May 18 22:03:21 CEST 2018 on sn-devel-144
source3/modules/vfs_zfsacl.c