Changes in / [38eb0d7:736b07b] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/exfat/exfat_ops.c

    r38eb0d7 r736b07b  
    955955        bmap_node = (exfat_node_t *) node->data;
    956956
    957         unsigned const bmap_sectors = ROUND_UP(bmap_node->size, BPS(bs)) /
    958             BPS(bs);
    959 
    960         for (sector = 0; sector < bmap_sectors; ++sector) {
     957        for (sector = 0; sector < bmap_node->size / BPS(bs); ++sector) {
    961958
    962959                block_t *block;
     
    964961                unsigned bit;
    965962
    966                 rc = exfat_block_get(&block, bs, bmap_node, sector,
     963                rc = exfat_block_get_by_clst(&block, bs, service_id,
     964                    bmap_node->fragmented, bmap_node->firstc, NULL, sector,
    967965                    BLOCK_FLAGS_NONE);
    968966                if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.