Changeset 9530d94 in mainline
- Timestamp:
- 2011-07-27T21:37:38Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c8d0d6d8
- Parents:
- ee257b2
- Location:
- uspace/srv/fs/minixfs
- Files:
-
- 3 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*/ -
uspace/srv/fs/minixfs/mfs_dentry.c
ree257b2 r9530d94 77 77 } 78 78 79 block_put(b);79 r = block_put(b); 80 80 81 81 d_info->index = index; … … 122 122 123 123 b->dirty = true; 124 block_put(b);124 r = block_put(b); 125 125 126 126 out: -
uspace/srv/fs/minixfs/mfs_inode.c
ree257b2 r9530d94 243 243 244 244 b->dirty = true; 245 block_put(b);245 r = block_put(b); 246 246 247 247 ino_i->dirty = false; … … 288 288 289 289 b->dirty = true; 290 block_put(b);290 r = block_put(b); 291 291 ino_i->dirty = false; 292 292
Note:
See TracChangeset
for help on using the changeset viewer.