···854854 int rc;855855 tid_t tid;856856857857- if ((rc = can_set_xattr(inode, name, value, value_len)))858858- return rc;859859-860857 /*861858 * If this is a request for a synthetic attribute in the system.*862859 * namespace use the generic infrastructure to resolve a handler···861864 */862865 if (!strncmp(name, XATTR_SYSTEM_PREFIX, XATTR_SYSTEM_PREFIX_LEN))863866 return generic_setxattr(dentry, name, value, value_len, flags);867867+868868+ if ((rc = can_set_xattr(inode, name, value, value_len)))869869+ return rc;864870865871 if (value == NULL) { /* empty EA, do not remove */866872 value = "";···10341034 int rc;10351035 tid_t tid;1036103610371037- if ((rc = can_set_xattr(inode, name, NULL, 0)))10381038- return rc;10391039-10401037 /*10411038 * If this is a request for a synthetic attribute in the system.*10421039 * namespace use the generic infrastructure to resolve a handler···10411044 */10421045 if (!strncmp(name, XATTR_SYSTEM_PREFIX, XATTR_SYSTEM_PREFIX_LEN))10431046 return generic_removexattr(dentry, name);10471047+10481048+ if ((rc = can_set_xattr(inode, name, NULL, 0)))10491049+ return rc;1044105010451051 tid = txBegin(inode->i_sb, 0);10461052 mutex_lock(&ji->commit_mutex);···10611061 * attributes are handled directly.10621062 */10631063const struct xattr_handler *jfs_xattr_handlers[] = {10641064-#ifdef JFS_POSIX_ACL10641064+#ifdef CONFIG_JFS_POSIX_ACL10651065 &posix_acl_access_xattr_handler,10661066 &posix_acl_default_xattr_handler,10671067#endif