Changeset add5835 in mainline for uspace/srv/fs/fat/fat.h


Ignore:
Timestamp:
2008-05-17T20:10:54Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e811bde
Parents:
78a1b7b
Message:

Add locks to FAT index structures, FAT in-core node structures. Add futex to
protect the list of free cached FAT in-core nodes. Make fat_node_get() and
fat_node_put() and some other functions aware of these new locks.

File:
1 edited

Legend:

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

    r78a1b7b radd5835  
    181181        link_t          uih_link;
    182182
     183        futex_t         lock;
    183184        dev_handle_t    dev_handle;
    184185        fs_index_t      index;
     
    198199/** FAT in-core node. */
    199200typedef struct fat_node {
     201        futex_t                 lock;
    200202        fat_node_type_t         type;
    201203        fat_idx_t               *idx;
Note: See TracChangeset for help on using the changeset viewer.