Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/sysinfo/stats.c

    rfeeac0d r9d58539  
    175175       
    176176        /* Walk the B+ tree and count pages */
    177         list_foreach(as->as_area_btree.leaf_list, leaf_link, btree_node_t,
    178             node) {
     177        list_foreach(as->as_area_btree.leaf_list, cur) {
     178                btree_node_t *node =
     179                    list_get_instance(cur, btree_node_t, leaf_link);
     180               
    179181                unsigned int i;
    180182                for (i = 0; i < node->keys; i++) {
     
    216218       
    217219        /* Walk the B+ tree and count pages */
    218         list_foreach(as->as_area_btree.leaf_list, leaf_link, btree_node_t, node) {
     220        list_foreach(as->as_area_btree.leaf_list, cur) {
     221                btree_node_t *node =
     222                    list_get_instance(cur, btree_node_t, leaf_link);
     223               
    219224                unsigned int i;
    220225                for (i = 0; i < node->keys; i++) {
Note: See TracChangeset for help on using the changeset viewer.