aboutsummaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2024-08-16 17:15:40 +1000
committerBrian Behlendorf <[email protected]>2024-09-18 11:23:50 -0700
commit7cc89f83ff490391ff6055a08c61011a4bdd0309 (patch)
tree9fc963ea44917557a49c33985944bd24acaf47be /module
parenta1832d1ecb0195c2087b412c3e7ae8e18f4ea574 (diff)
config: remove HAVE_POSIX_ACL_VALID_WITH_NS
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')
-rw-r--r--module/os/linux/zfs/zpl_xattr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/os/linux/zfs/zpl_xattr.c b/module/os/linux/zfs/zpl_xattr.c
index f272054e0..dc0113d38 100644
--- a/module/os/linux/zfs/zpl_xattr.c
+++ b/module/os/linux/zfs/zpl_xattr.c
@@ -1329,7 +1329,7 @@ __zpl_xattr_acl_set_access(zidmap_t *mnt_ns,
if (IS_ERR(acl))
return (PTR_ERR(acl));
else if (acl) {
- error = zpl_posix_acl_valid(ip, acl);
+ error = posix_acl_valid(ip->i_sb->s_user_ns, acl);
if (error) {
zpl_posix_acl_release(acl);
return (error);
@@ -1375,7 +1375,7 @@ __zpl_xattr_acl_set_default(zidmap_t *mnt_ns,
if (IS_ERR(acl))
return (PTR_ERR(acl));
else if (acl) {
- error = zpl_posix_acl_valid(ip, acl);
+ error = posix_acl_valid(ip->i_sb->s_user_ns, acl);
if (error) {
zpl_posix_acl_release(acl);
return (error);