Subversion Repositories HelenOS

Rev

Rev 2735 | Rev 2748 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2735 Rev 2742
Line 675... Line 675...
675
    }
675
    }
676
 
676
 
677
    /*
677
    /*
678
     * The name has already been unlinked by vfs_lookup_internal().
678
     * The name has already been unlinked by vfs_lookup_internal().
679
     * We have to get and put the VFS node to ensure that it is
679
     * We have to get and put the VFS node to ensure that it is
680
     * VFS_FREE'd after the last reference to it is dropped.
680
     * VFS_DESTROY'ed after the last reference to it is dropped.
681
     */
681
     */
682
    vfs_node_t *node = vfs_node_get(&lr);
682
    vfs_node_t *node = vfs_node_get(&lr);
683
    node->lnkcnt--;
683
    node->lnkcnt--;
684
    rwlock_write_unlock(&namespace_rwlock);
684
    rwlock_write_unlock(&namespace_rwlock);
685
    vfs_node_put(node);
685
    vfs_node_put(node);