Changeset 9530d94 in mainline for uspace/srv/fs/minixfs/mfs_balloc.c
- Timestamp:
- 2011-07-27T21:37:38Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c8d0d6d8
- Parents:
- ee257b2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/minixfs/mfs_balloc.c
ree257b2 r9530d94 165 165 b->dirty = true; 166 166 r = block_put(b); 167 mfsdebug("free index %u\n", idx);168 167 169 168 if (*search > idx) … … 228 227 if (freebit == -1) { 229 228 /*No free bit in this block*/ 230 block_put(b); 229 r = block_put(b); 230 on_error(r, goto out); 231 231 continue; 232 232 } … … 234 234 /*Free bit found in this block, compute the real index*/ 235 235 *idx = freebit + bits_per_block * i; 236 mfsdebug("alloc index %d %d\n", (int) *idx, i);237 236 if (*idx > limit) { 238 237 /*Index is beyond the limit, it is invalid*/
Note:
See TracChangeset
for help on using the changeset viewer.