Skip to content

Commit

Permalink
zpl_xattr.c: Remove HAVE_XATTR_HANDLER_NAME
Browse files Browse the repository at this point in the history
`HAVE_XATTR_HANDLER_NAME` was removed in upstream commit 79c307d. Remove
it from our truenas branch as well.

Signed-off-by: Ameer Hamza <ahamza@ixsystems.com>
  • Loading branch information
ixhamza committed Oct 7, 2024
1 parent 62bf2b0 commit ae50d92
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions module/os/linux/zfs/zpl_xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1750,10 +1750,8 @@ __zpl_xattr_nfs41acl_get(struct inode *ip, const char *name,
size_t xdr_size;

/* xattr_resolve_name will do this for us if this is defined */
#ifndef HAVE_XATTR_HANDLER_NAME
if (strcmp(name, "") != 0)
return (-EINVAL);
#endif

if (ITOZSB(ip)->z_acl_type != ZFS_ACLTYPE_NFSV4)
return (-EOPNOTSUPP);
Expand Down

0 comments on commit ae50d92

Please sign in to comment.