rem: attrInfo->type = attribute->Node()->type; attrInfo->size = attribute->Node()->data.size;
add: attrInfo->type = attribute->Type(); attrInfo->size = attribute->Size();
context: bfs_stat_attr(void *ns, void *_node, const char *name, struct attr_info *attrInfo){	FUNCTION_START(("name = \"%s\"\n",name));	Inode *inode = (Inode *)_node;	if (inode == NULL || inode->Node() == NULL)		RETURN_ERROR(B_ERROR);		small_data *smallData = NULL;	if (inode->SmallDataLock().Lock() == B_OK)	{		if ((smallData = inode->FindSmallData((const char *)name)) != NULL) {			attrInfo->type = smallData->type;			attrInfo->size = smallData->data_size;		}		inode->SmallDataLock().Unlock();	}	if (smallData != NULL)		return B_OK;	// search in the attribute directory	Inode *attribute;	status_t status = inode->GetAttribute(name, &attribute);	if (status == B_OK) {		attrInfo->type = attribute->Node()->type;		attrInfo->size = attribute->Node()->data.size;		inode->ReleaseAttribute(attribute);		return B_OK;	}	RETURN_ERROR(status);}