Changeset 44358c1 in mainline for uspace/srv/vfs/vfs_unlink.c


Ignore:
Timestamp:
2007-11-07T18:46:43Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7f3e3e7
Parents:
b818cff
Message:

VFS work.
Increment reference counters for the VFS nodes representing the mount point and
the root of the mounted filesystem, respectively, during VFS_MOUNT. Take the
unlink_futex when transforming the triplet into a VFS node.

File:
1 edited

Legend:

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

    rb818cff r44358c1  
    4040
    4141/**
    42  * This futex serializes concurrent VFS_CREATE, VFS_OPEN and VFS_UNLINK
    43  * operations.
     42 * This futex prevents the race between a triplet-to-VFS-node resolution and a
     43 * concurrent VFS_UNLINK or VFS_RMDIR operation.
    4444 */
    4545atomic_t unlink_futex = FUTEX_INITIALIZER;
Note: See TracChangeset for help on using the changeset viewer.