Changeset 67f63c4 in mainline for uspace/srv/vfs/vfs_mount.c


Ignore:
Timestamp:
2008-01-08T20:47:39Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
861e7d1
Parents:
7fff5eab
Message:

Make uspace rwlock API naming conventions consistent with kernel rwlock API.

File:
1 edited

Legend:

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

    r7fff5eab r67f63c4  
    186186                 * We already have the root FS.
    187187                 */
    188                 rwlock_writer_lock(&namespace_rwlock);
     188                rwlock_write_lock(&namespace_rwlock);
    189189                rc = vfs_lookup_internal(buf, size, &mp, &mpsz, NULL);
    190190                if (rc != EOK) {
     
    192192                         * The lookup failed for some reason.
    193193                         */
    194                         rwlock_writer_unlock(&namespace_rwlock);
     194                        rwlock_write_unlock(&namespace_rwlock);
    195195                        futex_up(&rootfs_futex);
    196196                        vfs_node_put(mr_node);  /* failed -> drop reference */
     
    201201                mp_node = vfs_node_get(&mp, mpsz);
    202202                if (!mp_node) {
    203                         rwlock_writer_unlock(&namespace_rwlock);
     203                        rwlock_write_unlock(&namespace_rwlock);
    204204                        futex_up(&rootfs_futex);
    205205                        vfs_node_put(mr_node);  /* failed -> drop reference */
     
    213213                 * This prevents the mount point from being deleted.
    214214                 */
    215                 rwlock_writer_unlock(&namespace_rwlock);
     215                rwlock_write_unlock(&namespace_rwlock);
    216216        } else {
    217217                /*
Note: See TracChangeset for help on using the changeset viewer.