Allow xattrs on symlinks
[zfs.git] / module / zfs / zpl_inode.c
index 17acf37..46b77c9 100644 (file)
@@ -356,6 +356,10 @@ const struct inode_operations zpl_symlink_inode_operations = {
        .put_link       = zpl_put_link,
        .setattr        = zpl_setattr,
        .getattr        = zpl_getattr,
+       .setxattr       = generic_setxattr,
+       .getxattr       = generic_getxattr,
+       .removexattr    = generic_removexattr,
+       .listxattr      = zpl_xattr_list,
 };
 
 const struct inode_operations zpl_special_inode_operations = {