Changeset 4f9ab1e in mainline for uspace/srv/vfs/vfs_node.c


Ignore:
Timestamp:
2017-03-18T14:25:47Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f6b6b40
Parents:
7f59d6c
Message:

vfs_node_peek() should add a reference to the node

File:
1 edited

Legend:

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

    r7f59d6c r4f9ab1e  
    204204        if (tmp) {
    205205                node = hash_table_get_inst(tmp, vfs_node_t, nh_link);
     206                _vfs_node_addref(node);
    206207        }
    207208        fibril_mutex_unlock(&nodes_mutex);
Note: See TracChangeset for help on using the changeset viewer.