Changeset 88a27f1 in mainline for uspace/srv/fs/fat/fat_ops.c


Ignore:
Timestamp:
2011-05-13T20:14:32Z (13 years ago)
Author:
Oleg Romanenko <romanenko.oleg@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0182e5cc
Parents:
a8c14aa
Message:
  1. Split fat_get_cluster into 3 methods: fat_get_cluster_fat[12,16,32]

and fat_set_cluster to fat_set_cluster_fat[12,16,32]

  1. Use FAT_MASK to calculating FAT_CLST_LAST1, FAT_CLST_LAST8, FAT_CLST_BAD
File:
1 edited

Legend:

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

    ra8c14aa r88a27f1  
    105105        node->dirty = false;
    106106        node->lastc_cached_valid = false;
    107         node->lastc_cached_value = FAT16_CLST_LAST1;
     107        node->lastc_cached_value = FAT32_CLST_LAST1;
    108108        node->currc_cached_valid = false;
    109109        node->currc_cached_bn = 0;
    110         node->currc_cached_value = FAT16_CLST_LAST1;
     110        node->currc_cached_value = FAT32_CLST_LAST1;
    111111}
    112112
Note: See TracChangeset for help on using the changeset viewer.