Changeset d963742 in mainline
- Timestamp:
- 2011-07-14T11:39:11Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5a9a1aaf
- Parents:
- 4dd9395
- Location:
- uspace/srv/fs/fat
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_fat.c
r4dd9395 rd963742 82 82 int 83 83 fat_cluster_walk(fat_bs_t *bs, devmap_handle_t devmap_handle, fat_cluster_t firstc, 84 fat_cluster_t *lastc, uint 16_t *numc, uint16_t max_clusters)85 { 86 uint 16_t clusters = 0;84 fat_cluster_t *lastc, uint32_t *numc, uint32_t max_clusters) 85 { 86 uint32_t clusters = 0; 87 87 fat_cluster_t clst = firstc, clst_last1 = FAT_CLST_LAST1(bs); 88 88 fat_cluster_t clst_bad = FAT_CLST_BAD(bs); … … 199 199 fat_cluster_t fcl, fat_cluster_t *clp, aoff64_t bn, int flags) 200 200 { 201 uint 16_t clusters;202 u nsignedmax_clusters;201 uint32_t clusters; 202 uint32_t max_clusters; 203 203 fat_cluster_t c; 204 204 int rc; -
uspace/srv/fs/fat/fat_fat.h
r4dd9395 rd963742 104 104 105 105 #define fat_clusters_get(numc, bs, dh, fc) \ 106 fat_cluster_walk((bs), (dh), (fc), NULL, (numc), (uint 16_t) -1)106 fat_cluster_walk((bs), (dh), (fc), NULL, (numc), (uint32_t) -1) 107 107 extern int fat_cluster_walk(struct fat_bs *, devmap_handle_t, fat_cluster_t, 108 fat_cluster_t *, uint 16_t *, uint16_t);108 fat_cluster_t *, uint32_t *, uint32_t); 109 109 110 110 extern int fat_block_get(block_t **, struct fat_bs *, struct fat_node *,
Note:
See TracChangeset
for help on using the changeset viewer.