Changes in uspace/srv/fs/mfs/mfs_ops.c [5e801dc:0db0df2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/mfs/mfs_ops.c
r5e801dc r0db0df2 1 1 /* 2 * Copyright (c) 2024 Jiri Svoboda 2 3 * Copyright (c) 2011 Maurizio Lombardi 3 4 * All rights reserved. … … 114 115 115 116 static bool 116 open_nodes_key_equal(const void *key, const ht_link_t *item)117 open_nodes_key_equal(const void *key, size_t hash, const ht_link_t *item) 117 118 { 118 119 const node_key_t *node_key = key; … … 123 124 } 124 125 125 static hash_table_ops_t open_nodes_ops = {126 static const hash_table_ops_t open_nodes_ops = { 126 127 .hash = open_nodes_hash, 127 128 .key_hash = open_nodes_key_hash, … … 283 284 284 285 /* Initialize libblock */ 285 rc = block_init(service_id , 4096);286 rc = block_init(service_id); 286 287 if (rc != EOK) 287 288 return rc; … … 310 311 311 312 /* Initialize libblock */ 312 rc = block_init(service_id , 4096);313 rc = block_init(service_id); 313 314 if (rc != EOK) 314 315 return rc; … … 392 393 mfs_service_get(fs_node_t *fsnode) 393 394 { 394 struct mfs_node *node = fsnode->data; 395 return node->instance->service_id; 395 return 0; 396 396 } 397 397
Note:
See TracChangeset
for help on using the changeset viewer.