diff --git a/module/zfs/zfs_vnops.c b/module/zfs/zfs_vnops.c index 828253f965..ae61b43043 100644 --- a/module/zfs/zfs_vnops.c +++ b/module/zfs/zfs_vnops.c @@ -1112,14 +1112,6 @@ zfs_lookup(struct inode *dip, char *nm, struct inode **ipp, int flags, *ipp = NULL; if (flags & LOOKUP_XATTR) { - /* - * If the xattr property is off, refuse the lookup request. - */ - if (!(zsb->z_flags & ZSB_XATTR)) { - ZFS_EXIT(zsb); - return (EINVAL); - } - /* * We don't allow recursive attributes.. * Maybe someday we will.