Changeset d290ef4 in mainline for uspace/srv/fs/fat/fat_ops.c
- Timestamp:
- 2009-08-12T20:45:58Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d44aabd
- Parents:
- 5f116e7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_ops.c
r5f116e7 rd290ef4 460 460 return rc; 461 461 } 462 fat_zero_cluster(bs, parentp->idx->dev_handle, mcl); 462 463 fat_append_clusters(bs, parentp, mcl); 463 b = fat_block_get(bs, parentp, i, BLOCK_FLAGS_NO READ);464 b = fat_block_get(bs, parentp, i, BLOCK_FLAGS_NONE); 464 465 d = (fat_dentry_t *)b->data; 465 /*466 * Clear all dentries in the block except for the first one (the first467 * dentry will be cleared in the next step).468 */469 memset(d + 1, 0, bps - sizeof(fat_dentry_t));470 466 471 467 hit:
Note:
See TracChangeset
for help on using the changeset viewer.