diff options
author | Ned Bass <[email protected]> | 2013-12-06 15:56:22 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-12-10 09:48:30 -0800 |
commit | b6e335bfc489c08bb92a8667e71fa7f69e87d960 (patch) | |
tree | 12cd3d0a375bc2e584037273d2a798b312231c07 /module | |
parent | 472e7c60853af099fbdf9d52162fd39818884f4f (diff) |
Revert "Use directory xattrs for symlinks"
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 <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #1648
Diffstat (limited to 'module')
-rw-r--r-- | module/zfs/zpl_xattr.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/module/zfs/zpl_xattr.c b/module/zfs/zpl_xattr.c index 63dca3ae7..8ee3d2fb5 100644 --- a/module/zfs/zpl_xattr.c +++ b/module/zfs/zpl_xattr.c @@ -446,10 +446,6 @@ zpl_xattr_set_sa(struct inode *ip, const char *name, const void *value, 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); |