Changeset f57f8ea in mainline for uspace/srv/vfs/vfs_unlink.c


Ignore:
Timestamp:
2008-01-02T20:25:24Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9413c0d
Parents:
215e375
Message:

Rename unlink_futex to namespace_futex and introduce a new futex for serializing
concurrent access to a VFS node's contents by multiple clients.

File:
1 edited

Legend:

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

    r215e375 rf57f8ea  
    4141/**
    4242 * This futex prevents the race between a triplet-to-VFS-node resolution and a
    43  * concurrent VFS_UNLINK or VFS_RMDIR operation.
     43 * concurrent VFS operation which modifies the file system namespace.
    4444 */
    45 atomic_t unlink_futex = FUTEX_INITIALIZER;
     45atomic_t namespace_futex = FUTEX_INITIALIZER;
    4646
    4747/**
Note: See TracChangeset for help on using the changeset viewer.