rem: return attr;
add: RETURN_AND_SET_ERRNO(attr);
context: fs_stat_attr(int fd, const char *attribute, struct attr_info *attrInfo){	struct stat stat;	status_t status;	int attr = sys_open_attr(fd, attribute, O_RDONLY);	if (attr < 0)		return attr;	status = sys_read_stat(attr, &stat);	if (status == B_OK) {		attrInfo->type = stat.st_type;		attrInfo->size = stat.st_size;	}	sys_close(attr);	return status;}