Changeset e584623 in mainline


Ignore:
Timestamp:
2011-07-14T07:04:39Z (13 years ago)
Author:
Oleg Romanenko <romanenko.oleg@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c223ee2
Parents:
9f98578
Message:

exFAT: add flag parent_fragmented to exfat_idx_t to show does the parent
node fragmented or not.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/exfat/exfat.h

    r9f98578 re584623  
    5252#define BPS(bs)                 (1 << (bs->bytes_per_sector))
    5353#define SPC(bs)                 (1 << (bs->sec_per_cluster))
    54 #define VOL_ST(bs)              uint64_t_le2host(bs->volume_start)
     54#define VOL_FS(bs)              uint64_t_le2host(bs->volume_start)
    5555#define VOL_CNT(bs)             uint64_t_le2host(bs->volume_count)
    56 #define FAT_ST(bs)              uint32_t_le2host(bs->fat_sector_start)
     56#define FAT_FS(bs)              uint32_t_le2host(bs->fat_sector_start)
    5757#define FAT_CNT(bs)             uint32_t_le2host(bs->fat_sector_count)
    58 #define DATA_ST(bs)             uint32_t_le2host(bs->data_start_sector)
     58#define DATA_FS(bs)             uint32_t_le2host(bs->data_start_sector)
    5959#define DATA_CNT(bs)    uint32_t_le2host(bs->data_clusters)
    60 #define ROOT_ST(bs)             uint32_t_le2host(bs->rootdir_cluster)
     60#define ROOT_FC(bs)             uint32_t_le2host(bs->rootdir_cluster)
    6161#define VOL_FLAGS(bs)   uint16_t_le2host(bs->volume_flags)
    6262
     
    9898
    9999struct exfat_node;
     100struct exfat_idx_t;
    100101
    101102typedef struct {
     
    108109        devmap_handle_t devmap_handle;
    109110        fs_index_t      index;
     111
     112        /* Does parent node fragmented or not? */
     113        bool parent_fragmented;
    110114        /**
    111115         * Parent node's first cluster.
Note: See TracChangeset for help on using the changeset viewer.