Changes in kernel/generic/src/sysinfo/stats.c [feeac0d:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/sysinfo/stats.c
rfeeac0d r9d58539 175 175 176 176 /* 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 179 181 unsigned int i; 180 182 for (i = 0; i < node->keys; i++) { … … 216 218 217 219 /* 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 219 224 unsigned int i; 220 225 for (i = 0; i < node->keys; i++) {
Note:
See TracChangeset
for help on using the changeset viewer.