Changeset 4797132 in mainline for uspace/srv/fs/fat/fat_ops.c
- Timestamp:
- 2008-05-08T19:23:36Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4573a79
- Parents:
- 9a5ccfb3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_ops.c
r9a5ccfb3 r4797132 309 309 if (strcmp(name, component) == 0) { 310 310 /* hit */ 311 fat_idx_t *idx = fat_idx_ map(311 fat_idx_t *idx = fat_idx_get_by_pos( 312 312 parentp->idx->dev_handle, parentp->firstc, 313 313 i * dps + j); 314 if (!idx) { 315 /* 316 * Can happen if memory is low or if we 317 * run out of 32-bit indices. 318 */ 319 block_put(b); 320 return NULL; 321 } 314 322 void *node = fat_node_get(idx->dev_handle, 315 323 idx->index);
Note:
See TracChangeset
for help on using the changeset viewer.