Changeset b5553a2 in mainline for uspace/srv/vfs/vfs_node.c


Ignore:
Timestamp:
2008-02-16T11:23:19Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f17667a
Parents:
8ccd2ea
Message:

Introduce the notion of VFS node link counts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_node.c

    r8ccd2ea rb5553a2  
    149149                node->index = result->triplet.index;
    150150                node->size = result->size;
     151                node->lnkcnt = result->lnkcnt;
    151152                link_initialize(&node->nh_link);
    152153                rwlock_initialize(&node->contents_rwlock);
     
    157158
    158159        assert(node->size == result->size);
     160        assert(node->lnkcnt == result->lnkcnt);
    159161
    160162        _vfs_node_addref(node);
Note: See TracChangeset for help on using the changeset viewer.