aboutsummaryrefslogtreecommitdiffstats
path: root/module/os
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2024-08-04 09:50:00 +1000
committerBrian Behlendorf <[email protected]>2024-09-18 11:23:50 -0700
commitd60d4ad809eb1ccfd50991bf1a1060b5e14bd16d (patch)
treef43bd21e6fc89d87420aa2b9e79e522c1a377872 /module/os
parent6840e3b18bc0bc2869384311198c3703ff0850a5 (diff)
config: remove HAVE_SET_CACHED_ACL_USABLE
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Tino Reichardt <[email protected]> Signed-off-by: Rob Norris <[email protected]> Closes #16479
Diffstat (limited to 'module/os')
-rw-r--r--module/os/linux/zfs/zpl_xattr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/os/linux/zfs/zpl_xattr.c b/module/os/linux/zfs/zpl_xattr.c
index a1a7396c0..9c0559333 100644
--- a/module/os/linux/zfs/zpl_xattr.c
+++ b/module/os/linux/zfs/zpl_xattr.c
@@ -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);