Changes in kernel/generic/src/sysinfo/stats.c [55b77d9:fc47885] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/sysinfo/stats.c
r55b77d9 rfc47885 173 173 174 174 /* Walk the B+ tree and count pages */ 175 list_foreach(as->as_area_btree.leaf_list, cur) { 175 link_t *cur; 176 for (cur = as->as_area_btree.leaf_head.next; 177 cur != &as->as_area_btree.leaf_head; cur = cur->next) { 176 178 btree_node_t *node = 177 179 list_get_instance(cur, btree_node_t, leaf_link); … … 216 218 217 219 /* Walk the B+ tree and count pages */ 218 list_foreach(as->as_area_btree.leaf_list, cur) { 220 link_t *cur; 221 for (cur = as->as_area_btree.leaf_head.next; 222 cur != &as->as_area_btree.leaf_head; cur = cur->next) { 219 223 btree_node_t *node = 220 224 list_get_instance(cur, btree_node_t, leaf_link);
Note:
See TracChangeset
for help on using the changeset viewer.