Changeset 0c1ad7ac in mainline
- Timestamp:
- 2008-05-04T20:50:54Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9a5ccfb3
- Parents:
- 5a324099
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_idx.c
r5a324099 r0c1ad7ac 118 118 } 119 119 120 /** If possible, merge two intervals of freed indices. */121 static void try_ merge_intervals(link_t *l, link_t *r, link_t *cur)120 /** If possible, coalesce two intervals of freed indices. */ 121 static void try_coalesce_intervals(link_t *l, link_t *r, link_t *cur) 122 122 { 123 123 freed_t *fl = list_get_instance(l, freed_t, link); … … 171 171 f->first--; 172 172 if (lnk->prev != &u->freed_head) 173 try_ merge_intervals(lnk->prev, lnk,173 try_coalesce_intervals(lnk->prev, lnk, 174 174 lnk); 175 175 return; … … 178 178 f->last++; 179 179 if (lnk->next != &u->freed_head) 180 try_ merge_intervals(lnk, lnk->next,180 try_coalesce_intervals(lnk, lnk->next, 181 181 lnk); 182 182 return;
Note:
See TracChangeset
for help on using the changeset viewer.