mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
config: remove HAVE___POSIX_ACL_CHMOD
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:
@@ -231,22 +231,6 @@ zpl_forget_cached_acl(struct inode *ip, int type)
|
||||
}
|
||||
#endif /* HAVE_SET_CACHED_ACL_USABLE */
|
||||
|
||||
/*
|
||||
* 3.1 API change,
|
||||
* posix_acl_chmod() was added as the preferred interface.
|
||||
*
|
||||
* 3.14 API change,
|
||||
* posix_acl_chmod() was changed to __posix_acl_chmod()
|
||||
*/
|
||||
#ifndef HAVE___POSIX_ACL_CHMOD
|
||||
#ifdef HAVE_POSIX_ACL_CHMOD
|
||||
#define __posix_acl_chmod(acl, gfp, mode) posix_acl_chmod(acl, gfp, mode)
|
||||
#define __posix_acl_create(acl, gfp, mode) posix_acl_create(acl, gfp, mode)
|
||||
#else
|
||||
#error "Unsupported kernel"
|
||||
#endif /* HAVE_POSIX_ACL_CHMOD */
|
||||
#endif /* HAVE___POSIX_ACL_CHMOD */
|
||||
|
||||
/*
|
||||
* 4.8 API change,
|
||||
* posix_acl_valid() now must be passed a namespace, the namespace from
|
||||
|
||||
Reference in New Issue
Block a user