Changeset c31d773 in mainline for uspace/srv/vfs/vfs_lookup.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_lookup.c

    rc089919 rc31d773  
    4545#include <futex.h>
    4646#include <libadt/list.h>
    47 #include <atomic.h>
    4847#include <vfs/canonify.h>
    4948
    5049#define min(a, b)       ((a) < (b) ? (a) : (b))
    5150
    52 atomic_t plb_futex = FUTEX_INITIALIZER;
     51futex_t plb_futex = FUTEX_INITIALIZER;
    5352link_t plb_head;        /**< PLB entry ring buffer. */
    5453uint8_t *plb = NULL;
Note: See TracChangeset for help on using the changeset viewer.