config: remove HAVE_POSIX_ACL_VALID_WITH_NS

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-16 17:15:40 +10:00
committed by Tony Hutter
parent a40444197b
commit 903c3bbc99
3 changed files with 2 additions and 44 deletions
+2 -2
View File
@@ -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);