mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-21 18:26:47 +03:00
config: remove HAVE_XATTR_(GET|SET|LIST)_DENTRY
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:
@@ -1425,7 +1425,6 @@ static xattr_handler_t zpl_xattr_acl_access_handler = {
|
||||
.get = zpl_xattr_acl_get_access,
|
||||
.set = zpl_xattr_acl_set_access,
|
||||
#if defined(HAVE_XATTR_LIST_SIMPLE) || \
|
||||
defined(HAVE_XATTR_LIST_DENTRY) || \
|
||||
defined(HAVE_XATTR_LIST_HANDLER)
|
||||
.flags = ACL_TYPE_ACCESS,
|
||||
#endif
|
||||
@@ -1447,7 +1446,6 @@ static xattr_handler_t zpl_xattr_acl_default_handler = {
|
||||
.get = zpl_xattr_acl_get_default,
|
||||
.set = zpl_xattr_acl_set_default,
|
||||
#if defined(HAVE_XATTR_LIST_SIMPLE) || \
|
||||
defined(HAVE_XATTR_LIST_DENTRY) || \
|
||||
defined(HAVE_XATTR_LIST_HANDLER)
|
||||
.flags = ACL_TYPE_DEFAULT,
|
||||
#endif
|
||||
@@ -1518,9 +1516,6 @@ zpl_xattr_permission(xattr_filldir_t *xf, const char *name, int name_len)
|
||||
#if defined(HAVE_XATTR_LIST_SIMPLE)
|
||||
if (!handler->list(d))
|
||||
return (XAPERM_DENY);
|
||||
#elif defined(HAVE_XATTR_LIST_DENTRY)
|
||||
if (!handler->list(d, NULL, 0, name, name_len, 0))
|
||||
return (XAPERM_DENY);
|
||||
#elif defined(HAVE_XATTR_LIST_HANDLER)
|
||||
if (!handler->list(handler, d, NULL, 0, name, name_len))
|
||||
return (XAPERM_DENY);
|
||||
|
||||
Reference in New Issue
Block a user