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


Ignore:
Timestamp:
2008-03-09T19:55:42Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
088cecc
Parents:
c089919
Message:

Grab the nodes_futex when manipulating node link counts in rename() and
_unlink().

Fix VFS futex definitions and declarations by replacing atomic_t by futex_t.

File:
1 edited

Legend:

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

    rc089919 rc31d773  
    3939#include <stdlib.h>
    4040#include <string.h>
    41 #include <atomic.h>
    4241#include <futex.h>
    4342#include <rwlock.h>
     
    4847
    4948/** Futex protecting the VFS node hash table. */
    50 atomic_t nodes_futex = FUTEX_INITIALIZER;
     49futex_t nodes_futex = FUTEX_INITIALIZER;
    5150
    5251#define NODES_BUCKETS_LOG       8
Note: See TracChangeset for help on using the changeset viewer.