Changeset 0a51029f in mainline for uspace/srv/fs/fat/fat_ops.c
- Timestamp:
- 2011-05-01T07:02:34Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b5db2ae
- Parents:
- aa2ea13
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_ops.c
raa2ea13 r0a51029f 1055 1055 1056 1056 rootp->type = FAT_DIRECTORY; 1057 rootp->firstc = FAT_CLST_ROOT;1057 rootp->firstc = (FAT_IS_FAT32(bs) ? bs->fat32.root_cluster : FAT_CLST_ROOT); 1058 1058 rootp->refcnt = 1; 1059 1059 rootp->lnkcnt = 0; /* FS root is not linked */ 1060 rootp->size = RDE(bs) * sizeof(fat_dentry_t); 1060 rootp->size = (FAT_IS_FAT32(bs) ? SPC(bs)*BPS(bs) : 1061 RDE(bs) * sizeof(fat_dentry_t)); 1061 1062 rootp->idx = ridxp; 1062 1063 ridxp->nodep = rootp;
Note:
See TracChangeset
for help on using the changeset viewer.