mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-21 18:26:47 +03:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user