config: remove HAVE_SET_CACHED_ACL_USABLE

Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #16479
This commit is contained in:
Rob Norris
2024-08-04 09:50:00 +10:00
committed by Tony Hutter
parent e954f086e0
commit 02daa09846
3 changed files with 3 additions and 72 deletions
+3 -3
View File
@@ -1049,9 +1049,9 @@ zpl_set_acl_impl(struct inode *ip, struct posix_acl *acl, int type)
if (!error) {
if (acl)
zpl_set_cached_acl(ip, type, acl);
set_cached_acl(ip, type, acl);
else
zpl_forget_cached_acl(ip, type);
forget_cached_acl(ip, type);
}
return (error);
@@ -1129,7 +1129,7 @@ zpl_get_acl_impl(struct inode *ip, int type)
/* As of Linux 4.7, the kernel get_acl will set this for us */
#ifndef HAVE_KERNEL_GET_ACL_HANDLE_CACHE
if (!IS_ERR(acl))
zpl_set_cached_acl(ip, type, acl);
set_cached_acl(ip, type, acl);
#endif
return (acl);