Changeset 0c48e14 in mainline for uspace/srv/fs/mfs/mfs_ops.c
- Timestamp:
- 2019-02-24T15:45:40Z (6 years ago)
- Children:
- 91bef446
- Parents:
- 52b44c6
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-02 15:07:29)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-24 15:45:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/mfs/mfs_ops.c
r52b44c6 r0c48e14 100 100 101 101 static size_t 102 open_nodes_key_hash( void *key)103 { 104 node_key_t *node_key = (node_key_t *)key;102 open_nodes_key_hash(const void *key) 103 { 104 const node_key_t *node_key = key; 105 105 return hash_combine(node_key->service_id, node_key->index); 106 106 } … … 114 114 115 115 static bool 116 open_nodes_key_equal( void *key, const ht_link_t *item)117 { 118 node_key_t *node_key = (node_key_t *)key;116 open_nodes_key_equal(const void *key, const ht_link_t *item) 117 { 118 const node_key_t *node_key = key; 119 119 struct mfs_node *mnode = hash_table_get_inst(item, struct mfs_node, link); 120 120
Note:
See TracChangeset
for help on using the changeset viewer.