Changeset d963742 in mainline for uspace/srv/fs/fat/fat_fat.c


Ignore:
Timestamp:
2011-07-14T11:39:11Z (13 years ago)
Author:
Oleg Romanenko <romanenko.oleg@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5a9a1aaf
Parents:
4dd9395
Message:

FAT: replace uint16_t with uint32_t in fat_cluster_walk and _fat_block_get
for better FAT32 support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_fat.c

    r4dd9395 rd963742  
    8282int
    8383fat_cluster_walk(fat_bs_t *bs, devmap_handle_t devmap_handle, fat_cluster_t firstc,
    84     fat_cluster_t *lastc, uint16_t *numc, uint16_t max_clusters)
    85 {
    86         uint16_t clusters = 0;
     84    fat_cluster_t *lastc, uint32_t *numc, uint32_t max_clusters)
     85{
     86        uint32_t clusters = 0;
    8787        fat_cluster_t clst = firstc, clst_last1 = FAT_CLST_LAST1(bs);
    8888        fat_cluster_t clst_bad = FAT_CLST_BAD(bs);
     
    199199    fat_cluster_t fcl, fat_cluster_t *clp, aoff64_t bn, int flags)
    200200{
    201         uint16_t clusters;
    202         unsigned max_clusters;
     201        uint32_t clusters;
     202        uint32_t max_clusters;
    203203        fat_cluster_t c;
    204204        int rc;
Note: See TracChangeset for help on using the changeset viewer.