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
@@ -161,18 +161,6 @@ zpl_posix_acl_release(struct posix_acl *acl)
zpl_posix_acl_release_impl(acl);
#endif
}
/*
* 4.8 API change,
* posix_acl_valid() now must be passed a namespace, the namespace from
* from super block associated with the given inode is used for this purpose.
*/
#ifdef HAVE_POSIX_ACL_VALID_WITH_NS
#define zpl_posix_acl_valid(ip, acl) posix_acl_valid(ip->i_sb->s_user_ns, acl)
#else
#define zpl_posix_acl_valid(ip, acl) posix_acl_valid(acl)
#endif
#endif /* CONFIG_FS_POSIX_ACL */
static inline uid_t zfs_uid_read_impl(struct inode *ip)