mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Retire HAVE_CURRENT_UMASK and HAVE_POSIX_ACL_CACHING
Remove ZFS_AC_KERNEL_CURRENT_UMASK and ZFS_AC_KERNEL_POSIX_ACL_CACHING configure checks, all supported kernel provide this functionality. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Nikolay Borisov <n.borisov.lkml@gmail.com> Signed-off-by: Chunwei Chen <david.chen@osnexus.com> Closes #4922
This commit is contained in:
@@ -1017,11 +1017,9 @@ zpl_get_acl(struct inode *ip, int type)
|
||||
char *name;
|
||||
int size;
|
||||
|
||||
#ifdef HAVE_POSIX_ACL_CACHING
|
||||
acl = get_cached_acl(ip, type);
|
||||
if (acl != ACL_NOT_CACHED)
|
||||
return (acl);
|
||||
#endif /* HAVE_POSIX_ACL_CACHING */
|
||||
|
||||
switch (type) {
|
||||
case ACL_TYPE_ACCESS:
|
||||
|
||||
Reference in New Issue
Block a user