Changeset c699b0c in mainline for uspace/srv/fs/minixfs/mfs_balloc.c
- Timestamp:
- 2011-09-04T13:12:33Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3a5ee6c
- Parents:
- 03bc76a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/minixfs/mfs_balloc.c
r03bc76a rc699b0c 151 151 152 152 r = block_get(&b, inst->service_id, block, BLOCK_FLAGS_NONE); 153 on_error(r, goto out_err); 153 if (r != EOK) 154 goto out_err; 154 155 155 156 /*Compute the bit index in the block*/ … … 219 220 BLOCK_FLAGS_NONE); 220 221 221 on_error(r, goto out); 222 if (r != EOK) 223 goto out; 222 224 223 225 unsigned tmp = *search % bits_per_block; … … 228 230 /*No free bit in this block*/ 229 231 r = block_put(b); 230 on_error(r, goto out); 232 if (r != EOK) 233 goto out; 231 234 continue; 232 235 } … … 237 240 /*Index is beyond the limit, it is invalid*/ 238 241 r = block_put(b); 239 on_error(r, goto out); 242 if (r != EOK) 243 goto out; 240 244 break; 241 245 }
Note:
See TracChangeset
for help on using the changeset viewer.