This reverts commit
6a7c0ccca44ad02c476a111d8f7911fc8b12fff7.
A proper fix for Issue #1648 was landed under Issue #1890, so this is no
longer needed.
Signed-off-by: Ned Bass <bass6@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1648
if (error == -ENOENT)
error = zpl_xattr_set_dir(ip, name, NULL, 0, flags, cr);
} else {
- /* Do not allow SA xattrs in symlinks (issue #1648) */
- if (S_ISLNK(ip->i_mode))
- return (-EMLINK);
-
/* Limited to 32k to keep nvpair memory allocations small */
if (size > DXATTR_MAX_ENTRY_SIZE)
return (-EFBIG);