Changeset 2ab1023 in mainline
- Timestamp:
- 2008-08-10T22:36:30Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9fcdb2e
- Parents:
- a9d4d2c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_ops.c
ra9d4d2c r2ab1023 357 357 */ 358 358 nodep->type = FAT_DIRECTORY; 359 /* 360 * TODO: determine the size by walking FAT. Surprisingly, the 361 * 'size' filed of the FAT dentry is not defined for the 362 * directory entry type. 363 */ 364 nodep->size = 64 * sizeof(fat_dentry_t); 359 365 } else { 360 366 nodep->type = FAT_FILE; 367 nodep->size = uint32_t_le2host(d->size); 361 368 } 362 369 nodep->firstc = uint16_t_le2host(d->firstc); 363 nodep->size = uint32_t_le2host(d->size);364 370 nodep->lnkcnt = 1; 365 371 nodep->refcnt = 1;
Note:
See TracChangeset
for help on using the changeset viewer.